The located assembly's manifest definition does not match the assembly reference

前端 未结 30 2065
北恋
北恋 2020-11-22 01:41

I am trying to run some unit tests in a C# Windows Forms application (Visual Studio 2005), and I get the following error:

System.IO.FileLoadException: Co

30条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-22 01:52

    The question has already an answer, but if the problem has occurred by NuGet package in different versions in the same solution, you can try the following.

    Open NuGet Package Manager, as you see my service project version is different than others.

    Then update projects that contain an old version of your package.

提交回复
热议问题