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

前端 未结 30 2626
北恋
北恋 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条回答
  •  旧时难觅i
    2020-11-22 02:06

    The .NET Assembly loader:

    • is unable to find 1.2.0.203
    • but did find a 1.2.0.200

    This assembly does not match what was requested and therefore you get this error.

    In simple words, it can't find the assembly that was referenced. Make sure it can find the right assembly by putting it in the GAC or in the application path. Also see https://docs.microsoft.com/archive/blogs/junfeng/the-located-assemblys-manifest-definition-with-name-xxx-dll-does-not-match-the-assembly-reference.

提交回复
热议问题