Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASP.NET web.config: Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider added even though it already exists inside location-Element #158

Open
v-lijm opened this issue Sep 26, 2023 · 1 comment

Comments

@v-lijm
Copy link

v-lijm commented Sep 26, 2023

<system.codedom> section will be added again with following steps:

  1. Create an ASP.Net Web Application (.Net Framework) with 4.X versions of the Roslyn CodeDom package in Visual Studio Community 17.7.4
  2. Put <system.codedom> into as like this:
    image
  3. After build the solution, <system.codedom> section is added again at the end.
    image
@CZEMacLeod
Copy link

You can add the property <RoslynRegisterInConfig>false</RoslynRegisterInConfig> to your project file to block adding the compilers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants