Microsoft.VisualStudio.Web.CodeGeneration 9.0.0

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.VisualStudio.Web.CodeGeneration --version 9.0.0
                    
NuGet\Install-Package Microsoft.VisualStudio.Web.CodeGeneration -Version 9.0.0
                    
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" Version="9.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.VisualStudio.Web.CodeGeneration" Version="9.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration" />
                    
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.VisualStudio.Web.CodeGeneration --version 9.0.0
                    
#r "nuget: Microsoft.VisualStudio.Web.CodeGeneration, 9.0.0"
                    
#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@9.0.0
                    
#: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&version=9.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.VisualStudio.Web.CodeGeneration&version=9.0.0
                    
Install as a Cake Tool

ASP.NET Scaffolding

ASP.NET scaffolding generates boilerplate code for web apps to speed up development.

For more information on ASP.NET scaffolding, see the following tutorials:

This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the home repository.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on Microsoft.VisualStudio.Web.CodeGeneration:

Package Downloads
Microsoft.VisualStudio.Web.CodeGenerators.Mvc

Code Generators for ASP.NET Core MVC. Contains code generators for MVC Controllers and Views.

IntelliTect.Coalesce.CodeGeneration

Core code generation engine and services for Coalesce. Learn more at https://coalesce.intellitect.com/

IntelliTect.Coalesce.CodeGeneration.Api

Generates ASP.NET Core API controllers, DTOs, and Semantic Kernel plugins for Coalesce projects. Learn more at https://coalesce.intellitect.com/

IntelliTect.Coalesce.CodeGeneration.Vue

Generates frontend Vue.js metadata, models, api clients, and view models for Coalesce projects. Learn more at https://coalesce.intellitect.com/stacks/vue/overview.html

IntelliTect.Coalesce.Tools

Legacy DotNetCliToolReference-style tool for Coalesce code generation. For the modern .NET global/local tool, see https://www.nuget.org/packages/coalesce. Learn more at https://coalesce.intellitect.com/

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Microsoft.VisualStudio.Web.CodeGeneration:

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.0-rc.1.25458.5 25,688 9/9/2025
9.0.0 7,015,448 11/12/2024
9.0.0-rc.2.24508.2 10,345 10/8/2024
9.0.0-rc.1.24457.2 9,143 9/10/2024
9.0.0-preview.7.24413.1 4,019 8/14/2024
9.0.0-preview.6.24358.4 14,013 7/9/2024
9.0.0-preview.4.24271.3 4,776 5/21/2024
9.0.0-preview.3.24207.3 7,188 4/9/2024
9.0.0-preview.2.24158.2 4,954 3/12/2024
9.0.0-preview.1.24112.3 5,922 2/13/2024
8.0.7 4,834,085 11/12/2024
8.0.6 2,977,271 10/8/2024
8.0.5 1,666,781 9/10/2024
8.0.4 1,956,322 8/14/2024
8.0.3 2,099,080 7/9/2024
8.0.2 7,595,967 3/12/2024
8.0.1 1,604,883 2/13/2024
8.0.0 3,795,868 11/15/2023
8.0.0-rc.2.23509.1 32,717 10/10/2023
8.0.0-rc.1.23461.3 17,350 9/12/2023
8.0.0-preview.7.23408.2 5,500 8/15/2023
8.0.0-preview.6.23360.4 4,692 7/12/2023
8.0.0-preview.5.23313.2 6,824 6/14/2023
8.0.0-preview.4.23261.6 8,271 5/18/2023
8.0.0-preview.3.23206.5 5,572 4/11/2023
8.0.0-preview.2.23158.7 6,491 3/14/2023
8.0.0-preview.1.23117.2 6,078 2/21/2023
7.0.12 661,777 2/13/2024
7.0.11 1,409,180 10/25/2023
7.0.10 818,638 9/12/2023
7.0.9 959,570 8/9/2023
7.0.8 788,008 7/12/2023
7.0.7 680,231 6/13/2023
7.0.6 1,477,989 4/11/2023
7.0.5 631,527 3/14/2023
7.0.4 824,907 2/15/2023
7.0.3 636,311 1/24/2023
7.0.2 372,896 1/11/2023
7.0.1 622,146 12/13/2022
7.0.0 976,682 11/8/2022
7.0.0-rc.2.22510.1 15,455 10/11/2022
7.0.0-rc.1.22452.2 3,662 9/14/2022
7.0.0-preview.7.22404.3 4,679 8/9/2022
7.0.0-preview.6.22330.7 17,236 7/12/2022
7.0.0-preview.5.22313.5 5,937 6/14/2022
7.0.0-preview.4.22259.1 11,120 5/10/2022
7.0.0-preview.3.22212.3 8,561 4/13/2022
7.0.0-preview.1.22116.2 20,695 2/17/2022
6.0.18 555,890 10/8/2024
6.0.17 331,357 7/9/2024
6.0.16 4,281,744 8/9/2023
6.0.15 736,194 7/12/2023
6.0.14 834,563 6/13/2023
6.0.13 2,416,038 3/14/2023
6.0.12 1,089,252 2/15/2023
6.0.11 2,429,760 12/13/2022
6.0.10 5,335,186 9/27/2022
6.0.9 938,947 9/16/2022
6.0.8 3,260,489 8/9/2022
6.0.7 2,451,541 7/12/2022
6.0.6 2,192,611 6/14/2022
6.0.5 2,519,800 5/17/2022
6.0.4 723,113 5/10/2022
6.0.3 1,891,494 4/12/2022
6.0.2 4,268,833 2/8/2022
6.0.1 3,621,556 12/15/2021
6.0.0 3,176,997 11/8/2021
6.0.0-rc.2.21511.1 28,497 10/12/2021
6.0.0-rc.1.21464.1 37,180 9/14/2021
6.0.0-preview.7.21413.1 17,629 8/13/2021
6.0.0-preview.7.21412.2 1,056 8/13/2021
6.0.0-preview.7.21406.1 1,089 8/10/2021
6.0.0-preview.6.21362.1 7,587 7/14/2021
6.0.0-preview.5.21321.1 19,864 6/21/2021
6.0.0-preview.5.21313.1 1,153 6/15/2021
6.0.0-preview.4.21274.1 12,856 5/24/2021
6.0.0-preview.3.21209.2 10,573 4/10/2021
6.0.0-preview.2.21161.1 6,436 3/11/2021
6.0.0-preview.1.21112.2 10,069 2/18/2021
5.0.2 14,484,694 2/11/2021
5.0.1 2,391,471 12/8/2020
5.0.0 1,577,589 11/10/2020
5.0.0-rc.2.20516.1 17,604 10/19/2020
5.0.0-rc.2.20473.1 7,320 10/13/2020
5.0.0-rc.1.20453.2 16,241 9/14/2020
5.0.0-preview.8.20419.1 6,125 8/25/2020
5.0.0-preview.7.20370.3 9,052 7/21/2020
5.0.0-preview.6.20323.1 11,859 6/25/2020
5.0.0-preview.5.20311.2 2,641 6/12/2020
5.0.0-preview.4.20261.3 6,857 5/19/2020
5.0.0-preview.3.20207.1 2,814 4/23/2020
3.1.5 12,686,647 2/11/2021
3.1.4 19,547,549 8/4/2020
3.1.3 13,488,775 5/19/2020
3.1.2 6,965,076 4/2/2020
3.1.1 11,194,029 1/28/2020
3.1.0 4,731,156 12/3/2019
3.1.0-preview3.19558.8 18,526 11/14/2019
3.1.0-preview2.19553.1 21,342 11/5/2019
3.1.0-preview1-19509-03 507,459 10/15/2019
3.0.0 7,229,531 9/23/2019
3.0.0-rc1-19462-10 16,738 9/16/2019
3.0.0-preview9-19453-02 31,932 9/4/2019
3.0.0-preview8-19413-06 82,583 8/14/2019
3.0.0-preview7-19378-04 23,416 7/30/2019
3.0.0-preview6-19319-03 59,882 6/21/2019
3.0.0-preview5-19264-04 56,156 5/15/2019
2.2.4 11,144,887 9/25/2019
2.2.3 16,491,217 3/11/2019
2.2.2 1,119,565 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 1,517,900 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 4,600,837 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 32,557 10/17/2018
2.2.0-preview2-35157 23,388 9/12/2018
2.2.0-preview1-35029 24,551 8/22/2018
2.1.10 4,407,167 9/25/2019
2.1.9 6,038,657 3/11/2019
2.1.7 119,861 1/8/2019
2.1.6 857,474 11/13/2018
2.1.5 1,569,490 10/1/2018
2.1.4 946,894 9/11/2018
2.1.3 923,425 8/21/2018
2.1.1 7,339,506 6/18/2018
2.1.0 2,348,713 5/29/2018
2.1.0-rc1-final 20,018 5/6/2018
2.1.0-preview2-final 20,808 4/10/2018
2.1.0-preview1-final 95,546 2/26/2018
2.0.4 2,497,870 5/7/2018
2.0.3 2,512,278 3/13/2018
2.0.2 1,663,293 1/9/2018
2.0.1 1,095,236 11/14/2017
2.0.0 1,935,369 8/11/2017
2.0.0-preview2-final 6,035 6/28/2017
2.0.0-preview1-final 6,122 5/10/2017
1.1.5 21,836 7/10/2018
1.1.4 64,913 12/12/2017
1.1.3 6,570 11/14/2017
1.1.2 13,577 9/20/2017
1.1.1 577,911 5/9/2017
1.1.0 521,727 3/6/2017
1.1.0-preview4-final 87,734 11/16/2016
1.1.0-msbuild3-final 31,247 1/27/2017
1.0.3 12,182 11/14/2017
1.0.2 6,371 9/20/2017
1.0.1 11,182 5/9/2017
1.0.0 248,480 3/6/2017
1.0.0-preview4-final 10,856 12/12/2016
1.0.0-preview3-final 6,105 10/24/2016
1.0.0-preview2-update1 127,692 9/13/2016
1.0.0-preview2-final 222,797 6/27/2016
1.0.0-preview1-final 39,362 5/16/2016
1.0.0-msbuild3-final 18,857 1/27/2017
1.0.0-msbuild2-final 5,430 12/12/2016
1.0.0-msbuild1-final 11,450 11/16/2016