Skip to content

Latest commit

 

History

History

MSBuild.SDK.SystemWeb.Templates

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

MSBuild.SDK.SystemWeb.Templates

Build Status NuGet package NuGet downloads

Installation

dotnet new -i MSBuild.SDK.SystemWeb.Templates

Usage

CLI

Web Applications

dotnet new systemweb

or

dotnet new systemwebfull

To select the VB.Net version use the flag -lang VB e.g.

dotnet new systemweb -lang VB

Razor Class Libraries

dotnet new systemwebrazorlib

To select the VB.Net version use the flag -lang VB e.g.

dotnet new systemwebrazorlib -lang VB

Visual Studio

Alternatively use the Visual Studio Add Project dialog.

2019

You need to have enabled the Preview feature to show .NET CLI Templates in Visual Studio and have Visual Studio 16.8 Preview 2 or higher.

2022

The ability to use templates is built into VS2022.

Visual Studio New Project Dialog

You can find the new templates easily by selecting System.Web from the Project Type dropdown.

Documentation

For more information see

Source Docs