dcolumbus
dcolumbus

Reputation: 9714

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 still getting this error!

Is there some mysterious place that the project is looking for this file?

Upvotes: 3

Views: 381

Answers (2)

dcolumbus
dcolumbus

Reputation: 9714

TFS wasn't reflecting the changes. I had to delete my local version of the project and get the project again from TFS. Stupid.

Upvotes: 1

Dao
Dao

Reputation: 2824

Use "Clean solution" in VS2010. And then rebuild your project.

Upvotes: 2

Related Questions