.Net 4.0 文件夹大小在 2008 R2 服务器上增加

.Net 4.0 folder size increasing on 2008 R2 Server

我已经在我的服务器上安装了完整的 .Net 4.0,因为当我安装 MVC4 框架时,客户端版本不工作。但是现在这个文件夹似乎并没有停止增长。

C:\Windows\Microsoft.NET\Framework64\v4.0.30319 

至此 post 为 64 GB。可能是什么问题。我在 space 中 运行。

这是来自WinDirStat

的截图

编译代码时,生成的程序集缓存在服务器上的一个文件夹中。我认为您的 ASP.net 网站正在编译和存储结果存储在临时文件夹中

Compilation Folder Location (Temp folder)

By default, when you compile a Web application the compiled code is placed in the Temporary ASP.NET Files folder. This folder is a subdirectory of the location where you installed the .NET framework. Typically, the location is the following: %SystemRoot%\Microsoft.NET\Framework\versionNumber\Temporary ASP.NET Files

Understanding ASP.NET Dynamic Compilation

compilation Element (ASP.NET Settings Schema)