Microsoft.VisualStudio.Web.CodeGeneration.Templating
5.0.2
Prefix Reserved
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 5.0.2
NuGet\Install-Package Microsoft.VisualStudio.Web.CodeGeneration.Templating -Version 5.0.2
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="5.0.2" />
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="5.0.2" />
<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 5.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.VisualStudio.Web.CodeGeneration.Templating, 5.0.2"
#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@5.0.2
#: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=5.0.2
#tool nuget:?package=Microsoft.VisualStudio.Web.CodeGeneration.Templating&version=5.0.2
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 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net5.0
- Microsoft.AspNetCore.Razor.Language (>= 5.0.0)
- Microsoft.AspNetCore.Razor.Runtime (>= 2.2.0)
- Microsoft.CodeAnalysis.CSharp (>= 3.8.0)
- Microsoft.CodeAnalysis.Razor (>= 5.0.0)
- Microsoft.VisualStudio.Web.CodeGeneration.Utils (>= 5.0.2)
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 | 297,527 | 1/14/2026 |
| 10.0.1 | 163,934 | 12/19/2025 |
| 10.0.0 | 139,477 | 12/9/2025 |
| 10.0.0-rc.1.25458.5 | 48,980 | 9/9/2025 |
| 9.0.12 | 42,363 | 1/14/2026 |
| 9.0.11 | 60,187 | 12/9/2025 |
| 9.0.0 | 8,564,546 | 11/12/2024 |
| 9.0.0-rc.2.24508.2 | 11,086 | 10/8/2024 |
| 9.0.0-rc.1.24457.2 | 9,782 | 9/10/2024 |
| 9.0.0-preview.7.24413.1 | 4,117 | 8/14/2024 |
| 8.0.23 | 119,466 | 1/14/2026 |
| 8.0.22 | 179,305 | 12/9/2025 |
| 8.0.7 | 5,916,961 | 11/12/2024 |
| 8.0.6 | 3,337,854 | 10/8/2024 |
| 8.0.5 | 1,846,955 | 9/10/2024 |
| 8.0.4 | 2,144,249 | 8/14/2024 |
| 8.0.3 | 2,282,098 | 7/9/2024 |
| 6.0.18 | 645,926 | 10/8/2024 |
| 6.0.17 | 350,006 | 7/9/2024 |
| 5.0.2 | 14,577,041 | 2/11/2021 |
Loading failed