在编译ASPNET过程中,有时个我们需要中止编译或者因为其它原因导致编译中止;此时,重新打开工程后,有时会出现以下错误:

错误消息This error could also be due to mixing a file reference with a project reference to assembly '<assemblyname>. In this case, try replacing the file reference to '<assemblyfilename>' in project '<projectname1>' with a project reference to '<projectname2>'.
 

当你在尝试删除并重新添加引用等方法之后仍然无效的情况下,可采取彻底删除Temporary ASP.NET Files 文件夹中的内容来修正此问题。

Temporary ASP.NET Files 文件夹中的位置:%SystemRoot%\Microsoft.NET\Framework\versionNumber\Temporary ASP.NET Files

 

参考:了解 ASP.NET 动态编译

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-18
  • 2021-08-01
  • 2021-07-26
  • 2022-02-22
  • 2021-10-24
  • 2021-11-08
猜你喜欢
  • 2022-12-23
  • 2021-10-04
  • 2021-11-15
  • 2021-12-10
相关资源
相似解决方案