123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <?xml version="1.0" encoding="utf-8" ?>
- <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
- <appSettings xdt:Transform="InsertIfMissing">
- </appSettings>
-
- <appSettings>
- <add key="aspnet:RoslynCompilerLocation" xdt:Transform="Remove" xdt:Locator="Match(key)" />
- <add key="aspnet:RoslynCompilerLocation" value="roslyn" xdt:Transform="Insert" />
- </appSettings>
-
- <!-- If system.codedom tag is absent -->
- <system.codedom xdt:Transform="InsertIfMissing">
- </system.codedom>
-
- <!-- If compilers tag is absent -->
- <system.codedom>
- <compilers xdt:Transform="InsertIfMissing">
- </compilers>
- </system.codedom>
-
- <!-- If a .cs compiler is already present, the existing entry needs to be removed before inserting the new entry -->
- <system.codedom>
- <compilers>
- <compiler
- extension=".cs"
- xdt:Transform="Remove"
- xdt:Locator="Match(extension)" />
- </compilers>
- </system.codedom>
-
- <!-- Inserting the new compiler -->
- <system.codedom>
- <compilers>
- <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="/langversion:default /nowarn:1659;1699;1701"
- xdt:Transform="Insert" />
- </compilers>
- </system.codedom>
-
- <!-- If a .vb compiler is already present, the existing entry needs to be removed before inserting the new entry -->
- <system.codedom>
- <compilers>
- <compiler
- extension=".vb"
- xdt:Transform="Remove"
- xdt:Locator="Match(extension)" />
- </compilers>
- </system.codedom>
-
- <!-- Inserting the new compiler -->
- <system.codedom>
- <compilers>
- <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="/langversion:default /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+"
- xdt:Transform="Insert" />
- </compilers>
- </system.codedom>
- </configuration>
|