Microsoft.CodeDom.Providers.DotNetCompilerPlatform
4.1.0
Prefix Reserved
See the version list below for details.
dotnet add package Microsoft.CodeDom.Providers.DotNetCompilerPlatform --version 4.1.0
NuGet\Install-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -Version 4.1.0
<PackageReference Include="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" Version="4.1.0" />
<PackageVersion Include="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" Version="4.1.0" />
<PackageReference Include="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" />
paket add Microsoft.CodeDom.Providers.DotNetCompilerPlatform --version 4.1.0
#r "nuget: Microsoft.CodeDom.Providers.DotNetCompilerPlatform, 4.1.0"
#:package Microsoft.CodeDom.Providers.DotNetCompilerPlatform@4.1.0
#addin nuget:?package=Microsoft.CodeDom.Providers.DotNetCompilerPlatform&version=4.1.0
#tool nuget:?package=Microsoft.CodeDom.Providers.DotNetCompilerPlatform&version=4.1.0
⚠️ Project-less 'WebSite's should use ....DotNetCompilerPlatform.WebSites package ⚠️
Version 4.X of this package has moved fully into an msbuild/targets model. But "Web Site"s - because they are "project-less" - have very limited support in msbuild and the package does not fully install like it did in the 3.X and earlier releases. Please use the Microsoft.CodeDom.Providers.DotNetCompilerPlatform.WebSites package for proper integration with a "Web Site" project.
Introduction
Replacement CodeDOM providers that use the new .NET Compiler Platform ("Roslyn") compiler as a service APIs. This provides support for new language features in systems using CodeDOM (e.g. ASP.NET runtime compilation) as well as improving the compilation performance of these systems.
Please see the blog Enabling the .NET Compiler Platform (“Roslyn”) in ASP.NET applications for an introduction to Microsoft.CodeDom.Providers.DotNetCompilerPlatform. The project github also has the most up-to-date documentation of the various settings available for configuring this provider.
Updates
Version 4.1.0 (preview1)
Drop install.ps1, Rely more on msbuild
Nuget has moved on from install.ps1. We had one foot in the msbuild camp before, and one foot still in the install.ps1 camp. Time to just jump in with both feet. See the 'RoslynRegisterInConfig' setting description below.
Refreshed current compilers
In keeping with the new versioning scheme for this project, the version has been revved to 4.1 to match the version of the compilers included.
No more old compilers
Stop carrying old versions of compilers. If you upgrade to get new compilers, you get new compilers. The old compilers that might carry references to binaries that get flagged in security scans even though the binaries don't get copied to the ouput directory... they just won't be included in the package anymore.
.Net >= 4.7.2
As a result of not keeping older compilers packaged in this project, we can no longer support versions before 4.7.2 because compiler versions 3.0 and newer only support 4.7.2+.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages (181)
Showing the top 5 NuGet packages that depend on Microsoft.CodeDom.Providers.DotNetCompilerPlatform:
| Package | Downloads |
|---|---|
|
UmbracoCms
Installs Umbraco Cms in your Visual Studio ASP.NET project |
|
|
Fluent.Infrastructure
Fluent.Infrastructure is an infrastructure that unites Controller, Service, Repository, Validation and automation integration testing with the aim of accelerating the development of organized systems, causing major operations become simple and quick to implement. Cache control and logic exclusion are supported simply. Find, Add, Update and Remove are the basic operations that do not require addition to files to run on your system. |
|
|
Omnicx.WebStore.Core
OmniCX WebStore Core contains the Controllers, API SDK and Models required to run the MVC Views of the WebStore. |
|
|
Nancy.Viewengines.Razor
Enables using the Razor view engine with Nancy. |
|
|
Bnsights.Mvc
Bnsights.Mvc is RAD Helper DLL for MVC Projects in Bnsights DMCC. Also known as Bnsights Business Solutions Framework (BBSF). |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.14.0-preview1 | 1,009 | 9/2/2026 |
| 4.1.0 | 14,514,152 | 4/12/2023 |
| 4.1.0-preview1 | 227,370 | 4/16/2022 |
| 3.11.1 | 875 | 9/2/2026 |
| 3.11.0 | 507,927 | 4/12/2023 |
| 3.11.0-preview2 | 8,585 | 4/16/2022 |
| 3.11.0-preview1 | 4,010 | 4/1/2022 |
| 3.6.0 | 23,236,878 | 7/8/2020 |
| 3.5.0-preview1 | 91,668 | 5/15/2020 |
| 2.0.1 | 50,595,595 | 9/13/2018 |
| 2.0.0 | 23,368,989 | 6/4/2018 |
| 2.0.0-preview | 20,560 | 5/4/2018 |
| 1.0.8 | 15,039,897 | 10/18/2017 |
| 1.0.7 | 6,632,528 | 8/16/2017 |
| 1.0.6 | 468,741 | 8/4/2017 |
| 1.0.5 | 4,416,020 | 6/8/2017 |
| 1.0.4 | 1,400,042 | 4/27/2017 |
| 1.0.3 | 9,272,790 | 12/15/2016 |
| 1.0.2 | 2,602,412 | 9/20/2016 |
| 1.0.1 | 5,438,785 | 9/3/2015 |