[英]Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform or one of its dependencies. Access is denied
I have following error:我有以下错误:
Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=xyz' or one of its dependencies.
无法加载文件或程序集“Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=xyz”或其依赖项之一。 Access is denied
访问被拒绝
Already i am having latest version of Microsoft.CodeDom.Providers.DotNetCompilerPlatform
我已经拥有最新版本的
Microsoft.CodeDom.Providers.DotNetCompilerPlatform
How to resolve it?如何解决? i am having error as access denied not as could not be located
我遇到错误,因为访问被拒绝,因为无法定位
我有 VS-2015 Update 3,但我的解决方案是授予 IIS_IUSRS 用户访问“C:\\Users\\Aurelio\\Documents\\Visual Studio 2015\\WebSites”中 Web 应用程序文件夹的权限
I recently faced issue and the problem was this: DotNetCompilerPlatform's authorization property setting was changed somehow,我最近遇到了问题,问题是这样的:DotNetCompilerPlatform 的授权属性设置以某种方式改变了,
so I opened bin folder, right click to open property -> go to security -> allow all permission and apply.所以我打开 bin 文件夹,右键单击打开属性 -> 转到安全 -> 允许所有权限并应用。
I also did the same thing for Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll and Microsoft.CodeDom.Providers.DotNetCompilerPlatform.xml, restarted IIS and issue was resolved.我也对 Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll 和 Microsoft.CodeDom.Providers.DotNetCompilerPlatform.xml 做了同样的事情,重新启动 IIS 并解决了问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.