Failed to load file or assembly ‘microsoft.codedom.providers.dotnetcompilerplatform’

Website content quality is poor, distribution efficiency is too low how to do?Huawei engineers offer 5 unique skills>>>

Server error in the ‘/’ application. Failed to load the file or assembly “Microsoft. Codedom. Providers. Dotnetcompiler platform, version = 2.0.1.0, culture = Central, publickeytoken = 31bf3856ad364e35” or one of its dependencies. Access denied

Could not load file or assembly ‘Microsoft.CodeDom.Providers.DotNetCompilerPlatform

< br/> This is the webpack file: ‘` XML & lt; system.codedom> & lt; compilers> & lt; compiler language=”c#; cs; csharp” extension=”.cs” type=”Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35″ warningLevel=”4″ compilerOptions=”/la ngversion:default /nowarn :1659; 1699; 1701″ /> & lt; compiler language=”vb; vbs; visualbasic; vbscript” extension=”.vb” type=”Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35″ warningLevel=”4″ compilerOptions=”/la ngversion:default /nowarn :41008 /define:_ MYTYPE=\& quot; Web\& quot;/optionInfer+” /> & lt;/ compilers> & lt;/ system.codedom> “` & lt; br/> This is the packages. Config file; package id=”Microsoft.CodeDom.Providers.DotNetCompilerPlatform” version=”2.0.1″ targetFramework=”net472″ /> “`

< br/> Method 1: first of all, make sure that the version numbers of web.config and packages.config are the same. Unfortunately, my version numbers are the same, which can’t be solved. Method 2: reload the dotnetcompiler platform package in nuget, but the problem is still unsolved. Method 3: check “copy local” in “properties”, which is also true, and there is dotnetcompiler platform package in the running directory (such as/bin)& lt; br/> Aware of a problem, I can run locally, but failed to deploy on IIS. This package has no dependencies, so it’s not about its dependencies. See https://www.nuget.org/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform < br/> Well, I found a problem. I don’t know much about IIS. Every time I publish IIS, I give him an administrator account, but there are still problems. The administrator account has high permissions, but I don’t know why. On the contrary, it’s OK to set everyone. Anyway, it’s ok to set everyone access permissions for the folder

Similar Posts: