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

后端 未结 4 526
走了就别回头了
走了就别回头了 2021-01-01 14:40

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条回答
  •  生来不讨喜
    2021-01-01 15:08

    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.

提交回复
热议问题