Microsoft.VisualStudio.Web.CodeGeneration 10.0.2

Prefix Reserved
dotnet add package Microsoft.VisualStudio.Web.CodeGeneration --version 10.0.2
                    
NuGet\Install-Package Microsoft.VisualStudio.Web.CodeGeneration -Version 10.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" Version="10.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" Version="10.0.2" />
                    
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 10.0.2
                    
#r "nuget: Microsoft.VisualStudio.Web.CodeGeneration, 10.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@10.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&version=10.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.VisualStudio.Web.CodeGeneration&version=10.0.2
                    
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 net10.0 is compatible.  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.2 31,475 1/14/2026
10.0.1 101,845 12/19/2025
10.0.0 84,827 12/9/2025
10.0.0-rc.1.25458.5 41,568 9/9/2025
9.0.12 6,424 1/14/2026
9.0.11 41,205 12/9/2025
9.0.0 7,882,027 11/12/2024
9.0.0-rc.2.24508.2 10,744 10/8/2024
9.0.0-rc.1.24457.2 9,309 9/10/2024
9.0.0-preview.7.24413.1 4,063 8/14/2024
9.0.0-preview.6.24358.4 15,359 7/9/2024
9.0.0-preview.4.24271.3 5,029 5/21/2024
9.0.0-preview.3.24207.3 7,414 4/9/2024
9.0.0-preview.2.24158.2 5,015 3/12/2024
9.0.0-preview.1.24112.3 6,014 2/13/2024
8.0.23 15,539 1/14/2026
8.0.22 106,266 12/9/2025
8.0.7 5,428,444 11/12/2024
8.0.6 3,164,756 10/8/2024
8.0.5 1,758,160 9/10/2024
8.0.4 2,056,075 8/14/2024
8.0.3 2,196,969 7/9/2024
8.0.2 7,899,925 3/12/2024
8.0.1 1,660,051 2/13/2024
8.0.0 3,948,293 11/15/2023
8.0.0-rc.2.23509.1 33,381 10/10/2023
8.0.0-rc.1.23461.3 17,531 9/12/2023
8.0.0-preview.7.23408.2 5,574 8/15/2023
8.0.0-preview.6.23360.4 4,717 7/12/2023
8.0.0-preview.5.23313.2 6,895 6/14/2023
8.0.0-preview.4.23261.6 8,478 5/18/2023
8.0.0-preview.3.23206.5 5,679 4/11/2023
8.0.0-preview.2.23158.7 6,540 3/14/2023
8.0.0-preview.1.23117.2 6,141 2/21/2023
7.0.12 684,810 2/13/2024
7.0.11 1,463,552 10/25/2023
7.0.10 830,046 9/12/2023
7.0.9 970,215 8/9/2023
7.0.8 801,486 7/12/2023
7.0.7 684,643 6/13/2023
7.0.6 1,495,070 4/11/2023
7.0.5 635,142 3/14/2023
7.0.4 834,944 2/15/2023
7.0.3 640,352 1/24/2023
7.0.2 374,206 1/11/2023
7.0.1 627,845 12/13/2022
7.0.0 988,398 11/8/2022
7.0.0-rc.2.22510.1 15,769 10/11/2022
7.0.0-rc.1.22452.2 3,688 9/14/2022
7.0.0-preview.7.22404.3 4,778 8/9/2022
7.0.0-preview.6.22330.7 17,455 7/12/2022
7.0.0-preview.5.22313.5 5,973 6/14/2022
7.0.0-preview.4.22259.1 11,166 5/10/2022
7.0.0-preview.3.22212.3 8,598 4/13/2022
7.0.0-preview.1.22116.2 21,023 2/17/2022
6.0.18 602,019 10/8/2024
6.0.17 341,122 7/9/2024
6.0.16 4,378,524 8/9/2023
6.0.15 748,429 7/12/2023
6.0.14 843,342 6/13/2023
6.0.13 2,442,603 3/14/2023
6.0.12 1,107,088 2/15/2023
6.0.11 2,459,486 12/13/2022
6.0.10 5,386,851 9/27/2022
6.0.9 946,290 9/16/2022
6.0.8 3,287,073 8/9/2022
6.0.7 2,472,833 7/12/2022
6.0.6 2,211,592 6/14/2022
6.0.5 2,541,124 5/17/2022
6.0.4 732,487 5/10/2022
6.0.3 1,904,201 4/12/2022
6.0.2 4,302,552 2/8/2022
6.0.1 3,661,087 12/15/2021
6.0.0 3,209,720 11/8/2021
6.0.0-rc.2.21511.1 28,636 10/12/2021
6.0.0-rc.1.21464.1 37,447 9/14/2021
6.0.0-preview.7.21413.1 17,685 8/13/2021
6.0.0-preview.7.21412.2 1,089 8/13/2021
6.0.0-preview.7.21406.1 1,120 8/10/2021
6.0.0-preview.6.21362.1 7,615 7/14/2021
6.0.0-preview.5.21321.1 20,045 6/21/2021
6.0.0-preview.5.21313.1 1,180 6/15/2021
6.0.0-preview.4.21274.1 12,891 5/24/2021
6.0.0-preview.3.21209.2 10,615 4/10/2021
6.0.0-preview.2.21161.1 6,465 3/11/2021
6.0.0-preview.1.21112.2 10,099 2/18/2021
5.0.2 14,585,851 2/11/2021
5.0.1 2,402,573 12/8/2020
5.0.0 1,590,269 11/10/2020
5.0.0-rc.2.20516.1 17,783 10/19/2020
5.0.0-rc.2.20473.1 7,404 10/13/2020
5.0.0-rc.1.20453.2 16,333 9/14/2020
5.0.0-preview.8.20419.1 6,156 8/25/2020
5.0.0-preview.7.20370.3 9,093 7/21/2020
5.0.0-preview.6.20323.1 11,920 6/25/2020
5.0.0-preview.5.20311.2 2,677 6/12/2020
5.0.0-preview.4.20261.3 6,899 5/19/2020
5.0.0-preview.3.20207.1 2,843 4/23/2020
3.1.5 12,804,192 2/11/2021
3.1.4 19,641,138 8/4/2020
3.1.3 13,567,359 5/19/2020
3.1.2 6,996,760 4/2/2020
3.1.1 11,267,630 1/28/2020
3.1.0 4,752,190 12/3/2019
3.1.0-preview3.19558.8 18,562 11/14/2019
3.1.0-preview2.19553.1 21,736 11/5/2019
3.1.0-preview1-19509-03 511,307 10/15/2019
3.0.0 7,311,104 9/23/2019
3.0.0-rc1-19462-10 16,783 9/16/2019
3.0.0-preview9-19453-02 32,010 9/4/2019
3.0.0-preview8-19413-06 82,713 8/14/2019
3.0.0-preview7-19378-04 23,488 7/30/2019
3.0.0-preview6-19319-03 59,944 6/21/2019
3.0.0-preview5-19264-04 56,291 5/15/2019
2.2.4 11,223,255 9/25/2019
2.2.3 16,548,763 3/11/2019
2.2.2 1,121,805 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 1,524,607 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 4,614,726 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 32,599 10/17/2018
2.2.0-preview2-35157 23,487 9/12/2018
2.2.0-preview1-35029 24,607 8/22/2018
2.1.10 4,436,389 9/25/2019
2.1.9 6,072,831 3/11/2019
2.1.7 120,343 1/8/2019
2.1.6 868,251 11/13/2018
2.1.5 1,573,940 10/1/2018
2.1.4 950,715 9/11/2018
2.1.3 926,184 8/21/2018
2.1.1 7,377,944 6/18/2018
2.1.0 2,359,342 5/29/2018
2.1.0-rc1-final 20,144 5/6/2018
2.1.0-preview2-final 21,032 4/10/2018
2.1.0-preview1-final 95,611 2/26/2018
2.0.4 2,517,499 5/7/2018
2.0.3 2,534,046 3/13/2018
2.0.2 1,669,144 1/9/2018
2.0.1 1,098,489 11/14/2017
2.0.0 1,944,735 8/11/2017
2.0.0-preview2-final 6,108 6/28/2017
2.0.0-preview1-final 6,169 5/10/2017
1.1.5 22,515 7/10/2018
1.1.4 65,252 12/12/2017
1.1.3 6,668 11/14/2017
1.1.2 13,683 9/20/2017
1.1.1 579,961 5/9/2017
1.1.0 522,312 3/6/2017
1.1.0-preview4-final 87,795 11/16/2016
1.1.0-msbuild3-final 31,341 1/27/2017
1.0.3 12,295 11/14/2017
1.0.2 6,474 9/20/2017
1.0.1 11,297 5/9/2017
1.0.0 251,461 3/6/2017
1.0.0-preview4-final 10,914 12/12/2016
1.0.0-preview3-final 6,156 10/24/2016
1.0.0-preview2-update1 127,742 9/13/2016
1.0.0-preview2-final 222,871 6/27/2016
1.0.0-preview1-final 39,410 5/16/2016
1.0.0-msbuild3-final 18,908 1/27/2017
1.0.0-msbuild2-final 5,488 12/12/2016
1.0.0-msbuild1-final 11,511 11/16/2016