Could Not Load Assembly .NET 4.0

自作多情 提交于 2019-12-03 03:04:39

I deleted temporary asp.net files in :

C:\users\username\AppData\Local\Temp\Temporary ASP.NET Files\

And it worked.

had the same problem! I found that you need to use a different location for win7/x86/x64

Clear out the temporary framework files for your project in:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\

For Windows 7, the path is:

C:\Users[username]\AppData\Local\Temp\Temporary ASP.NET Files\

For 64 bit systems with 'Framework' in the path the full path is:

C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\

Found the solution here

Are you running this from IIS? If so check the framework version that is selected for your site.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!