How Do You Clear an ASP.NET app for compiling?

后端 未结 4 659
情深已故
情深已故 2021-01-01 14:14

I have been building and rebuilding an ASP.NET program.

I made the horrible mistake, I think, of recently copying the published content back to the folder I was deve

4条回答
  •  猫巷女王i
    2021-01-01 14:47

    This problem I faced sometimes back while compiling. Go to this folder c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files and delete all the files and folder under it. When you build an application which is not hosted under IIS, temporary debug files and folder get created under this folder.

    It may happen that you get an access denied error while deleting them. Close your Visual Studio solution and delete everything under this folder. It will resolve the compilation error.

提交回复
热议问题