I have searched blogs, forums, and internet for a solution. Recommendations abound, including using NuGet to change my environment, change my project to "Application", copy the codedom to the GAC, bin directory missing. After all these years
of this error plaguing IIS, there should be a solution that doesn't run me around the world trying hundreds of things. Does anyone know what it is?
Please help, I have been stuck two days on this.
I am building my first web app using the community 2017 verision if VS. I am deploying to Windows 10 IIS Express. The app runs in the VS, fails in IIS localhost.
I believe my environments should be compatible, please see below.
Parser Error Message: The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" could
not be located.
Line 49: <system.codedom>
Line 50: <compilers>
Line 51: <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.7.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />
Line 52: <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.7.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+" />
Line 53: </compilers>
in folder C:\inetpub\wwwroot\TicketManager\bin
Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll
File version: 1.0.40810.0
product version: 1.0.7-40810