ASP.NET MVC 2: "Could not load file or assembly"
All of a sudden, I'm getting this error:
Could not load file or assembly 'WnvHtmlConvertDemo' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
But I've since removed any trace of using this DLL and any references... yet I'm sti开发者_运维知识库ll getting this error!
Is there some mysterious place that the project is looking for this file?
Use "Clean solution" in VS2010. And then rebuild your project.
TFS wasn't reflecting the changes. I had to delete my local version of the project and get the project again from TFS. Stupid.
精彩评论