Could Not Load Assembly .NET 4.0

后端 未结 3 1827
忘掉有多难
忘掉有多难 2021-02-08 15:48

whenever I build my web solution I get this error :

Could not load file or assembly \'dotless.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=96b446c9e63         


        
相关标签:
3条回答
  • 2021-02-08 16:34

    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

    0 讨论(0)
  • 2021-02-08 16:35

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

    0 讨论(0)
  • 2021-02-08 16:48

    I deleted temporary asp.net files in :

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

    And it worked.

    0 讨论(0)
提交回复
热议问题