Microsoft.Net.Compilers.Razor.Toolset 10.0.0-preview.25277.114

Prefix Reserved
This is a prerelease version of Microsoft.Net.Compilers.Razor.Toolset.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.Net.Compilers.Razor.Toolset --version 10.0.0-preview.25277.114
                    
NuGet\Install-Package Microsoft.Net.Compilers.Razor.Toolset -Version 10.0.0-preview.25277.114
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Net.Compilers.Razor.Toolset" Version="10.0.0-preview.25277.114">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Net.Compilers.Razor.Toolset" Version="10.0.0-preview.25277.114" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Net.Compilers.Razor.Toolset">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.Net.Compilers.Razor.Toolset --version 10.0.0-preview.25277.114
                    
#r "nuget: Microsoft.Net.Compilers.Razor.Toolset, 10.0.0-preview.25277.114"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.Net.Compilers.Razor.Toolset@10.0.0-preview.25277.114
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.Net.Compilers.Razor.Toolset&version=10.0.0-preview.25277.114&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Net.Compilers.Razor.Toolset&version=10.0.0-preview.25277.114&prerelease
                    
Install as a Cake Tool

.NET Compilers Razor Toolset Package.
     Referencing this package will cause the project to be built using the Razor compilers and source generator contained in the package, as opposed to the version installed with the SDK.

     This package is primarily intended as a method for rapidly shipping hotfixes to customers. Using it as a long term solution for providing newer compilers on older MSBuild installations is explicitly not supported. That can and will break on a regular basis.

     The supported mechanism for providing new compilers in a build enviroment is updating to the newer .NET SDK or Visual Studio Build Tools SKU.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Microsoft.Net.Compilers.Razor.Toolset:

Repository Stars
jjonescz/DotNetLab
C# and Razor compiler playground in the browser via Blazor WebAssembly
Version Downloads Last Updated
10.0.0-preview.25280.105 0 6/2/2025
10.0.0-preview.25277.114 0 6/3/2025
10.0.0-preview.25277.101 0 5/29/2025
10.0.0-preview.25255.103 0 5/12/2025