MVVM Light obtained via NuGet - RelayCommand.cs not found

后端 未结 3 1178
粉色の甜心
粉色の甜心 2020-12-12 01:31

My program incorporates a copy of MVVM Light via NuGet. Up until about 5 minutes ago it worked without a hitch, but now I\'m getting an error saying \"RelayCommand.cs not fo

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-12 02:02

    Got just the same Problem with Galasoft and found your post. - Finally I figured it out, or at least the error no longer pops up:

    Go to Tools-Options...-Debugging-General and tick Enable Just My Code and the error disappeared. I assume MVVM-Light is compiled in Debug Mode and now Visual Studio Looks for the MvvmLight pdb and cs file which are of course not there when installed via nuget.

提交回复
热议问题