Skip to content

Commit

Permalink
Update to latest Roslyn CodeDOM provider (#4407)
Browse files Browse the repository at this point in the history
Supports C# 7.3 and VB 15
  • Loading branch information
bdukes authored Jan 12, 2021
1 parent ef8c6f1 commit b592c59
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 98 deletions.
6 changes: 0 additions & 6 deletions Build/Cake/thirdparty.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,5 @@
"folder": "DNN Platform/Components/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/",
"destination": "Install/Library",
"extension": "resources"
},
{
"name": "Microsoft.CodeDom.Providers.DotNetCompilerPlatform_net46",
"folder": "DNN Platform/Components/Microsoft.CodeDom.Providers.DotNetCompilerPlatform-net46/",
"destination": "Install/Library",
"extension": "resources"
}
]

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" type="Library" version="02.00.01" isSystem="false">
<friendlyName>Microsoft CodeDom .NET Compiler for .NET 4.5</friendlyName>
<description>Provides compiler support for C# 6 and VB 14.</description>
<package name="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" type="Library" version="03.06.00" isSystem="false">
<friendlyName>Microsoft CodeDom .NET Compiler</friendlyName>
<description>Provides compiler support for C# 7.3 and VB 15.</description>
<dependencies/>
<owner>
<name>DNN</name>
Expand All @@ -18,7 +18,7 @@
<assembly>
<path>bin</path>
<name>Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll</name>
<version>2.0.1</version>
<version>3.6.0</version>
</assembly>
</assemblies>
</component>
Expand All @@ -43,8 +43,8 @@
<compilers></compilers>
</node>
<node path="/configuration/system.codedom/compilers" action="update" key="extension" collision="overwrite">
<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:6 /nowarn:1659;1699;1701" />
<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:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=3.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:7.3 /nowarn:1659;1699;1701;612;618" />
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=3.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008,40000,40008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
</node>
</nodes>
</configuration>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<h3>Microsoft CodeDom .NET Compiler</h3>
<strong>2.0.1</strong>
<p class="Contributor">
DotNetNuke Corporation <br />
<a href="mailto:support@dnnsoftware.com">support@dnnsoftware.com</a><br />
<a href=https://www.dnnsoftware.com>www.dnnsoftware.com</a><br />
</p>
<hr/>
<strong>3.6.0</strong>
<div class="License">
<h3>About the Microsoft CodeDom .NET Compiler</h3>
<h2>
Expand Down
Binary file not shown.

0 comments on commit b592c59

Please sign in to comment.