Microsoft.VisualStudio.Web.CodeGeneration.Templating
3.1.3
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 3.1.3
NuGet\Install-Package Microsoft.VisualStudio.Web.CodeGeneration.Templating -Version 3.1.3
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="3.1.3" />
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="3.1.3" />
<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 3.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.VisualStudio.Web.CodeGeneration.Templating, 3.1.3"
#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@3.1.3
#: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=3.1.3
#tool nuget:?package=Microsoft.VisualStudio.Web.CodeGeneration.Templating&version=3.1.3
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 (>= 3.1.0)
- Microsoft.AspNetCore.Razor.Runtime (>= 2.2.0)
- Microsoft.CodeAnalysis.CSharp (>= 3.3.1)
- Microsoft.CodeAnalysis.Razor (>= 3.1.0)
- Microsoft.VisualStudio.Web.CodeGeneration.Utils (>= 3.1.3)
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.1 | 13,392 | 12/19/2025 | |
| 10.0.0 | 52,214 | 12/9/2025 | |
| 10.0.0-rc.1.25458.5 | 35,018 | 9/9/2025 | |
| 9.0.11 | 15,957 | 12/9/2025 | |
| 9.0.0 | 7,377,341 | 11/12/2024 | |
| 9.0.0-rc.2.24508.2 | 10,449 | 10/8/2024 | |
| 9.0.0-rc.1.24457.2 | 9,207 | 9/10/2024 | |
| 9.0.0-preview.7.24413.1 | 4,059 | 8/14/2024 | |
| 9.0.0-preview.6.24358.4 | 14,386 | 7/9/2024 | |
| 9.0.0-preview.4.24271.3 | 4,853 | 5/21/2024 | |
| 9.0.0-preview.3.24207.3 | 7,306 | 4/9/2024 | |
| 9.0.0-preview.2.24158.2 | 4,958 | 3/12/2024 | |
| 9.0.0-preview.1.24112.3 | 5,977 | 2/13/2024 | |
| 8.0.22 | 37,799 | 12/9/2025 | |
| 8.0.7 | 5,088,121 | 11/12/2024 | |
| 8.0.6 | 3,068,181 | 10/8/2024 | |
| 8.0.5 | 1,714,669 | 9/10/2024 | |
| 8.0.4 | 2,002,470 | 8/14/2024 | |
| 8.0.3 | 2,141,183 | 7/9/2024 | |
| 8.0.2 | 7,704,897 | 3/12/2024 | |
| 8.0.1 | 1,626,392 | 2/13/2024 | |
| 8.0.0 | 3,839,512 | 11/15/2023 | |
| 8.0.0-rc.2.23509.1 | 33,103 | 10/10/2023 | |
| 8.0.0-rc.1.23461.3 | 17,563 | 9/12/2023 | |
| 8.0.0-preview.7.23408.2 | 5,579 | 8/15/2023 | |
| 8.0.0-preview.6.23360.4 | 4,858 | 7/12/2023 | |
| 8.0.0-preview.5.23313.2 | 7,223 | 6/14/2023 | |
| 8.0.0-preview.4.23261.6 | 8,312 | 5/18/2023 | |
| 8.0.0-preview.3.23206.5 | 5,628 | 4/11/2023 | |
| 8.0.0-preview.2.23158.7 | 6,539 | 3/14/2023 | |
| 8.0.0-preview.1.23117.2 | 5,833 | 2/21/2023 | |
| 7.0.12 | 669,355 | 2/13/2024 | |
| 7.0.11 | 1,431,202 | 10/25/2023 | |
| 7.0.10 | 817,562 | 9/12/2023 | |
| 7.0.9 | 959,430 | 8/9/2023 | |
| 7.0.8 | 792,869 | 7/12/2023 | |
| 7.0.7 | 677,209 | 6/13/2023 | |
| 7.0.6 | 1,490,860 | 4/11/2023 | |
| 7.0.5 | 631,264 | 3/14/2023 | |
| 7.0.4 | 826,117 | 2/15/2023 | |
| 7.0.3 | 635,317 | 1/24/2023 | |
| 7.0.2 | 366,843 | 1/11/2023 | |
| 7.0.1 | 623,078 | 12/13/2022 | |
| 7.0.0 | 974,215 | 11/8/2022 | |
| 7.0.0-rc.2.22510.1 | 15,710 | 10/11/2022 | |
| 7.0.0-rc.1.22452.2 | 3,998 | 9/14/2022 | |
| 7.0.0-preview.7.22404.3 | 4,671 | 8/9/2022 | |
| 7.0.0-preview.6.22330.7 | 17,236 | 7/12/2022 | |
| 7.0.0-preview.5.22313.5 | 5,863 | 6/14/2022 | |
| 7.0.0-preview.4.22259.1 | 12,332 | 5/10/2022 | |
| 7.0.0-preview.3.22212.3 | 8,525 | 4/13/2022 | |
| 7.0.0-preview.1.22116.2 | 21,138 | 2/17/2022 | |
| 6.0.18 | 575,022 | 10/8/2024 | |
| 6.0.17 | 335,325 | 7/9/2024 | |
| 6.0.16 | 4,298,330 | 8/9/2023 | |
| 6.0.15 | 734,689 | 7/12/2023 | |
| 6.0.14 | 834,674 | 6/13/2023 | |
| 6.0.13 | 2,407,451 | 3/14/2023 | |
| 6.0.12 | 1,082,423 | 2/15/2023 | |
| 6.0.11 | 2,424,362 | 12/13/2022 | |
| 6.0.10 | 5,311,893 | 9/27/2022 | |
| 6.0.9 | 935,397 | 9/16/2022 | |
| 6.0.8 | 3,242,726 | 8/9/2022 | |
| 6.0.7 | 2,444,624 | 7/12/2022 | |
| 6.0.6 | 2,202,530 | 6/14/2022 | |
| 6.0.5 | 2,526,529 | 5/17/2022 | |
| 6.0.4 | 726,002 | 5/10/2022 | |
| 6.0.3 | 1,895,182 | 4/12/2022 | |
| 6.0.2 | 4,250,529 | 2/8/2022 | |
| 6.0.1 | 3,608,055 | 12/15/2021 | |
| 6.0.0 | 3,164,749 | 11/8/2021 | |
| 6.0.0-rc.2.21511.1 | 28,374 | 10/12/2021 | |
| 6.0.0-rc.1.21464.1 | 36,873 | 9/14/2021 | |
| 6.0.0-preview.7.21413.1 | 17,556 | 8/13/2021 | |
| 6.0.0-preview.7.21412.2 | 1,067 | 8/13/2021 | |
| 6.0.0-preview.7.21406.1 | 1,092 | 8/10/2021 | |
| 6.0.0-preview.6.21362.1 | 7,554 | 7/14/2021 | |
| 6.0.0-preview.5.21321.1 | 19,734 | 6/21/2021 | |
| 6.0.0-preview.5.21313.1 | 1,256 | 6/15/2021 | |
| 6.0.0-preview.4.21274.1 | 12,821 | 5/24/2021 | |
| 6.0.0-preview.3.21209.2 | 10,562 | 4/10/2021 | |
| 6.0.0-preview.2.21161.1 | 6,369 | 3/11/2021 | |
| 6.0.0-preview.1.21112.2 | 8,515 | 2/18/2021 | |
| 5.0.2 | 14,427,378 | 2/11/2021 | |
| 5.0.1 | 2,382,072 | 12/8/2020 | |
| 5.0.0 | 1,569,392 | 11/10/2020 | |
| 5.0.0-rc.2.20516.1 | 17,671 | 10/19/2020 | |
| 5.0.0-rc.2.20473.1 | 7,344 | 10/13/2020 | |
| 5.0.0-rc.1.20453.2 | 16,182 | 9/14/2020 | |
| 5.0.0-preview.8.20419.1 | 6,078 | 8/25/2020 | |
| 5.0.0-preview.7.20370.3 | 9,026 | 7/21/2020 | |
| 5.0.0-preview.6.20323.1 | 11,786 | 6/25/2020 | |
| 5.0.0-preview.5.20311.2 | 2,649 | 6/12/2020 | |
| 5.0.0-preview.4.20261.3 | 6,700 | 5/19/2020 | |
| 5.0.0-preview.3.20207.1 | 2,820 | 4/23/2020 | |
| 3.1.5 | 12,640,242 | 2/11/2021 | |
| 3.1.4 | 19,424,545 | 8/4/2020 | |
| 3.1.3 | 13,387,135 | 5/19/2020 | |
| 3.1.2 | 6,930,946 | 4/2/2020 | |
| 3.1.1 | 11,159,137 | 1/28/2020 | |
| 3.1.0 | 4,736,417 | 12/3/2019 | |
| 3.1.0-preview3.19558.8 | 18,521 | 11/14/2019 | |
| 3.1.0-preview2.19553.1 | 21,180 | 11/5/2019 | |
| 3.1.0-preview1-19509-03 | 505,553 | 10/15/2019 | |
| 3.0.0 | 7,230,724 | 9/23/2019 | |
| 3.0.0-rc1-19462-10 | 18,821 | 9/16/2019 | |
| 3.0.0-preview9-19453-02 | 33,786 | 9/4/2019 | |
| 3.0.0-preview8-19413-06 | 84,327 | 8/14/2019 | |
| 3.0.0-preview7-19378-04 | 25,121 | 7/30/2019 | |
| 3.0.0-preview6-19319-03 | 61,773 | 6/21/2019 | |
| 3.0.0-preview5-19264-04 | 58,403 | 5/15/2019 | |
| 2.2.4 | 11,137,168 | 9/25/2019 | |
| 2.2.3 | 16,507,403 | 3/11/2019 | |
| 2.2.2 | 1,114,718 | 2/12/2019 | |
| 2.2.1 | 1,529,968 | 1/8/2019 | |
| 2.2.0 | 4,588,069 | 12/3/2018 | |
| 2.2.0-preview3-35497 | 35,567 | 10/17/2018 | |
| 2.2.0-preview2-35157 | 26,418 | 9/12/2018 | |
| 2.2.0-preview1-35029 | 26,790 | 8/22/2018 | |
| 2.1.10 | 4,388,468 | 9/25/2019 | |
| 2.1.9 | 6,022,861 | 3/11/2019 | |
| 2.1.7 | 123,460 | 1/8/2019 | |
| 2.1.6 | 853,460 | 11/13/2018 | |
| 2.1.5 | 1,571,598 | 10/1/2018 | |
| 2.1.4 | 931,766 | 9/11/2018 | |
| 2.1.3 | 925,622 | 8/21/2018 | |
| 2.1.1 | 7,311,951 | 6/18/2018 | |
| 2.1.0 | 2,318,101 | 5/29/2018 | |
| 2.1.0-rc1-final | 22,851 | 5/6/2018 | |
| 2.1.0-preview2-final | 23,749 | 4/10/2018 | |
| 2.1.0-preview1-final | 96,850 | 2/26/2018 | |
| 2.0.4 | 2,496,173 | 5/7/2018 | |
| 2.0.3 | 2,514,933 | 3/13/2018 | |
| 2.0.2 | 1,660,947 | 1/9/2018 | |
| 2.0.1 | 1,093,750 | 11/14/2017 | |
| 2.0.0 | 1,936,168 | 8/11/2017 | |
| 2.0.0-preview2-final | 9,088 | 6/28/2017 | |
| 2.0.0-preview1-final | 9,124 | 5/10/2017 | |
| 1.1.5 | 26,831 | 7/10/2018 | |
| 1.1.4 | 69,080 | 12/12/2017 | |
| 1.1.3 | 11,219 | 11/14/2017 | |
| 1.1.2 | 18,538 | 9/20/2017 | |
| 1.1.1 | 580,567 | 5/9/2017 | |
| 1.1.0 | 527,851 | 3/6/2017 | |
| 1.1.0-preview4-final | 91,531 | 11/16/2016 | |
| 1.1.0-msbuild3-final | 35,739 | 1/27/2017 | |
| 1.0.3 | 16,852 | 11/14/2017 | |
| 1.0.2 | 11,026 | 9/20/2017 | |
| 1.0.1 | 15,812 | 5/9/2017 | |
| 1.0.0 | 254,305 | 3/6/2017 | |
| 1.0.0-preview4-final | 13,788 | 12/12/2016 | |
| 1.0.0-preview3-final | 9,538 | 10/24/2016 | |
| 1.0.0-preview2-update1 | 130,271 | 9/13/2016 | |
| 1.0.0-preview2-final | 224,515 | 6/27/2016 | |
| 1.0.0-preview1-final | 41,878 | 5/16/2016 | |
| 1.0.0-msbuild3-final | 21,817 | 1/27/2017 | |
| 1.0.0-msbuild2-final | 8,297 | 12/12/2016 | |
| 1.0.0-msbuild1-final | 14,111 | 11/16/2016 |