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

前端 未结 30 2098
北恋
北恋 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:56

    My issue was copying source code to a new machine without pulling over any of the referenced assemblies.

    Nothing that I did fixed the error, so in haste, I deleted the BIN directory altogether. Rebuilt my source code, and it worked from then on out.

提交回复
热议问题