Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/hadoop/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio 在IIS Express下运行时,每次更改.cshtml文件中的内容时都必须重新编译?_Visual Studio - Fatal编程技术网

Visual studio 在IIS Express下运行时,每次更改.cshtml文件中的内容时都必须重新编译?

Visual studio 在IIS Express下运行时,每次更改.cshtml文件中的内容时都必须重新编译?,visual-studio,Visual Studio,我们最近从内置的VS.NET开发Web服务器更改为IIS Express,但现在我们遇到了一个wierd问题,每次更改.cshtml文件时,Web服务器都会抱怨无法读取资源文件: 编译服务此请求所需的资源时出错。请查看以下特定错误详细信息,并适当修改源代码 读取资源文件“c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f8182027\1ae20e7e\ResX\resources.resetp

我们最近从内置的VS.NET开发Web服务器更改为IIS Express,但现在我们遇到了一个wierd问题,每次更改.cshtml文件时,Web服务器都会抱怨无法读取资源文件:

编译服务此请求所需的资源时出错。请查看以下特定错误详细信息,并适当修改源代码

读取资源文件“c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\f8182027\1ae20e7e\ResX\resources.resetpassword.nb-no.resources”时出错--“系统找不到指定的文件。”

重新编译解决了这个问题,但也很烦人

有人知道如何解决这个问题吗