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

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

    I added a NuGet package, only to realize a black-box portion of my application was referencing an older version of the library.

    I removed the package and referenced the older version's static DLL file, but the web.config file was never updated from:

    
        
        
    
    

    to what it should have reverted to when I uninstalled the package:

    
        
        
    
    

提交回复
热议问题