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

前端 未结 30 2130
北恋
北恋 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 02:03

    No solution worked for me. I tried clean project solution, remove bin, update package, downgrade package and so on... After two hours I loaded default App.config from project with assemblies and there I changed wrong reference version from:

    
        
        
    
    

    to:

    
        
        
    
    

    After this I cleaned project, build it again and it worked. No warning no problem.

提交回复
热议问题