Why doesn't my Entity Framework app work on production server?
I get following error when deploying on test server with II6 an开发者_如何学Cd Framework 3.5 SP1 installed.
The located assembly's manifest definition does not match the assembly reference
My development machine is a 64bit pc with Visual Studio 2008.
Any suggestions?
Looks as though the .net assembly is unable to find the correct version that you are after. Make sure you put the assembly definition in the GAC. You may need to look at the GAC and remove the old version and then rebuild.
In other words, go to your production server and look for any assemblies (.dll files) that are currently loaded on that server. The version on your production server may not match the reference of your local machine's project.
Once you find it remove it and replace it with what your application is using.
精彩评论