.NET SDK
Build, test, pack, restore, format, watch, and manage tools with the installed .NET SDK.
Entry points
Tools.DotNet.Build
Compiles the workspace solution or selected projects and their dependencies.
public static DotNetBuild Build { get; }Property Value
Tools.DotNet.Clean
Removes build outputs produced for the workspace solution or selected projects.
public static DotNetClean Clean { get; }Property Value
Tools.DotNet.Restore
Resolves project dependencies and writes restore assets for the workspace.
public static DotNetRestore Restore { get; }Property Value
Tools.DotNet.Test
Builds and runs tests in the workspace solution or selected projects.
public static DotNetTest Test { get; }Property Value
Tools.DotNet.Pack
Builds projects and produces NuGet packages.
public static DotNetPack Pack { get; }Property Value
Tools.DotNet.Format
Applies or verifies whitespace, style, and analyzer formatting across a workspace.
public static DotNetFormat Format { get; }Property Value
Tools.DotNet.Watch
Rebuilds or hot-reloads an application when watched source files change.
public static DotNetWatch Watch { get; }Property Value
Tools.DotNet.DevCerts
Creates, checks, trusts, imports, exports, or removes HTTPS development certificates.
public static DotNetDevCerts DevCerts { get; }Property Value
Tools.DotNet.NuGetPush
Uploads NuGet packages and optional symbol packages to a package source.
public static DotNetNuGetPush NuGetPush { get; }Property Value
Tools.DotNet.PackageSearch
Searches configured NuGet feeds and returns structured package results.
public static DotNetPackageSearch PackageSearch { get; }Property Value
Tools.DotNet.ToolRestore
Installs local tools declared by the applicable tool manifest.
public static DotNetToolRestore ToolRestore { get; }Property Value
Tools.DotNet.ToolUpdate
Updates a global, local-manifest, or explicit-path .NET tool package.
public static DotNetToolUpdate ToolUpdate { get; }