关于CS0016: Could not write to output file ‘c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary AS

1、添加用户"Network Service” 和 “IIS_IUSERS” 读下面目录的读写权限

a) C:\Windows\Temp

b) C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files

2、在C:\Windows\Microsoft.NET\Framework64\v4.0.30319

aspnet_regiis.exe -i

3、重启iis

iisreset /retart

如果还是不行,请重装IIS和framework,再把上面步骤执行一下 

你可能感兴趣的:(关于CS0016: Could not write to output file ‘c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary AS)