Microsoft.VisualStudio.Web.CodeGeneration.Templating
2.1.0-preview2-final
Prefix Reserved
This is a prerelease version of Microsoft.VisualStudio.Web.CodeGeneration.Templating.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Microsoft.VisualStudio.Web.CodeGeneration.Templating --version 2.1.0-preview2-final
NuGet\Install-Package Microsoft.VisualStudio.Web.CodeGeneration.Templating -Version 2.1.0-preview2-final
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.VisualStudio.Web.CodeGeneration.Templating" Version="2.1.0-preview2-final" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.VisualStudio.Web.CodeGeneration.Templating" Version="2.1.0-preview2-final" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Templating" />
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.VisualStudio.Web.CodeGeneration.Templating --version 2.1.0-preview2-final
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.VisualStudio.Web.CodeGeneration.Templating, 2.1.0-preview2-final"
#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.VisualStudio.Web.CodeGeneration.Templating@2.1.0-preview2-final
#: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.VisualStudio.Web.CodeGeneration.Templating&version=2.1.0-preview2-final&prerelease
#tool nuget:?package=Microsoft.VisualStudio.Web.CodeGeneration.Templating&version=2.1.0-preview2-final&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Contains Razor based templating host used by ASP.NET Core Code Generators.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Microsoft.AspNetCore.Razor.Language (>= 2.1.0-preview2-final)
- Microsoft.CodeAnalysis.CSharp (>= 2.6.1)
- Microsoft.VisualStudio.Web.CodeGeneration.Utils (>= 2.1.0-preview2-final)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Microsoft.VisualStudio.Web.CodeGeneration.Templating:
| Package | Downloads |
|---|---|
|
Microsoft.VisualStudio.Web.CodeGeneration.Core
Contains the core infrastructure used by ASP.NET Core Code Generators. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Microsoft.VisualStudio.Web.CodeGeneration.Templating:
| Repository | Stars |
|---|---|
|
aspnet/Universe
[Archived] Repo for building the entire ASP.NET and Entity Framework stack. Project moved to https://github.com/aspnet/AspNetCore
|
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.2 | 203,832 | 1/14/2026 |
| 10.0.1 | 146,817 | 12/19/2025 |
| 10.0.0 | 119,826 | 12/9/2025 |
| 10.0.0-rc.1.25458.5 | 46,984 | 9/9/2025 |
| 9.0.12 | 30,968 | 1/14/2026 |
| 9.0.11 | 53,752 | 12/9/2025 |
| 9.0.0 | 8,348,208 | 11/12/2024 |
| 9.0.0-rc.2.24508.2 | 10,943 | 10/8/2024 |
| 9.0.0-rc.1.24457.2 | 9,673 | 9/10/2024 |
| 9.0.0-preview.7.24413.1 | 4,105 | 8/14/2024 |
| 8.0.23 | 83,004 | 1/14/2026 |
| 8.0.22 | 160,428 | 12/9/2025 |
| 8.0.7 | 5,768,163 | 11/12/2024 |
| 8.0.6 | 3,285,865 | 10/8/2024 |
| 8.0.5 | 1,822,365 | 9/10/2024 |
| 8.0.4 | 2,118,216 | 8/14/2024 |
| 8.0.3 | 2,253,779 | 7/9/2024 |
| 6.0.18 | 632,904 | 10/8/2024 |
| 6.0.17 | 347,169 | 7/9/2024 |
| 2.1.0-preview2-final | 23,976 | 4/10/2018 |
Loading failed