The located assembly's manifest definition does not match the assembly reference
getting this when running nunit through ncover. Any idea?
The located assembly's manifest definition does not match the assembly reference
getting this when running nunit through ncover. Any idea?
I just delete settings.lic file from project and start working!
If you got this error trying to add a component to Visual Studio,-
Microsoft.VisualStudio.TemplateWizardInterface
- (after trying to install weird development tools)consider this solution(courtesy of larocha (thanks, whoever you are)):
Microsoft.VisualStudio.TemplateWizardInterfac
e"<dependentAssembly>
<!-- assemblyIdentity name="Microsoft.VisualStudio.TemplateWizardInterface" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" / -->
<bindingRedirect oldVersion="0.0.0.0-8.9.9.9" newVersion="9.0.0.0" />
</dependentAssembly>
source: http://webclientguidance.codeplex.com/workitem/15444
I ran into this issue in a web api project.
Api project was using a nuget package of a library with version 3. And one of the referenced assemblies say X was using older version of the same nuget package with version 2.
Whenever referenced assembly is built or any other project referencing X is rebuilt, api project's assemblies gets updated with lower version. And got this assembly reference error.
Rebuild works but in my case I wanted a long term solution.
I made the assemblies reference same version of nuget package.
This happened to me when I updated web.config without updating all referenced dlls.
Using proper diff filter (beware of Meld's default directory compare filter ignoring binaries) the difference was identified, files were copied and everything worked fine.
This usually happens when the version of one of the DLLs of the testing environment does not match the development environment.
Clean and Build your solution and take all your DLLs to the environment where the error is happening that should fix it
Just another case here. I had this error from Managed Debugging Assistant on the first time deserializing a XML file into objects under VS2010/.NET 4. A DLL containing classes for the objects is generated in a post-build event (usual Microsoft style stuff). Worked very well for several projects in same solution, problem appeared when doing that in one more of the projects. Error text:
Since some answers here suggested a platform mismatch, I noticed that 3 projects and the solution had "mixed platforms" configuration selected, and 3 projects were compiled for x86 instead of AnyCPU. I have no platform-specific code (though some vendor-provided DLLs rely on a few x86 libraries). I replaced all occurrences of x86 into AnyCPU with this:
Then the project would build but all options to run or debug code would be greyed out. Restarting VS would not help.
I reverted with git the references to the x86-library, just in case, but kept AnyCPU for all the code I compile.
Following F5 or Start Debugging Button is Greyed Out for Winform application? I unloaded and reloaded the starting project (it was also the one where the initial problem appeared in the first place).
After that, everything fell back into place: the program works without the initial error.
See http://www.catb.org/jargon/html/R/rain-dance.html , http://www.catb.org/jargon/html/V/voodoo-programming.html or http://www.catb.org/jargon/html/I/incantation.html and links there.