Command |
Function |
|
---|---|---|
new | Creates a new project | |
console | Creates a .NET Core console app | |
classlib | Creates a .NET Standard class library | |
mstest | Creates an MSTest unit test | |
xunit | Creates an XUnit unit test | |
web | Creates an ASP .NET Core empty project | |
mvc | Creates an ASP .NET Core MVC Web App | |
angular | Creates an ASP .NET Core with Angular | |
react | Creates an ASP .NET Core with React | |
reactredux | Creates an ASP .NET Core with React and Redux | |
webapi | Creates an ASP .NET Core Web API | |
sln | Creates a blank Visual Studio solution | |
restore | Restores dependencies specified in the project | |
run | Compiles and executes a project | |
build | Builds a project | |
publish | Publishes a project for deployment, including the runtime | |
test | Runs unit tests using the test runner specified in the project | |
pack | Creates a NuGet package for the project | |
clean | Cleans build outputs | |
sln | Modifies a Visual Studio solution file | |
add | Adds project(s) to a solution | |
list | Lists projects(s) in a solution | |
remove | Removes project(s) from a solution | |
add | Adds a reference to the project | |
package | Adds a package reference | |
reference | Adds a project reference | |
remove | Removes a reference from the project | |
package | Removes a package reference | |
reference | Removes a project reference | |
list | Lists references of the project | |
nuget | Starts additional NuGet commands | |
delete | Deletes a package from a NuGet server | |
locals | Clears or lists local NuGet resources | |
push | Pushes a package to a NuGet server |
13.59.100.42