1dotnet msbuild command(1)          .NET Core         dotnet msbuild command(1)
2
3
4

dotnet msbuild

NAME

7       dotnet msbuild - Builds a project and all of its dependencies.
8

SYNOPSIS

10       dotnet msbuild <msbuild_arguments> [-h]
11

DESCRIPTION

13       The dotnet msbuild command allows access to a fully functional MSBuild.
14
15       The  command  has  the  exact same capabilities as the existing MSBuild
16       command-line client for SDK-style project only.  The  options  are  all
17       the  same.   For  more information about the available options, see the
18       MSBuild Command-Line Reference.
19
20       The dotnet build command is equivalent to dotnet msbuild -restore -tar‐
21       get:Build.   dotnet  build is more commonly used for building projects,
22       but dotnet msbuild gives you more control.  For example, if you have  a
23       specific target you want to run (without running the build target), you
24       probably want to use dotnet msbuild.
25

EXAMPLES

27       · Build a project and its dependencies:
28
29                dotnet msbuild
30
31       · Build a project and its dependencies using Release configuration:
32
33                dotnet msbuild -p:Configuration=Release
34
35       · Run the publish target and publish for the osx.10.11-x64 RID:
36
37                dotnet msbuild -t:Publish -p:RuntimeIdentifiers=osx.10.11-x64
38
39       · See the whole project with all targets included by the SDK:
40
41                dotnet msbuild -pp
42
43
44
45                                                     dotnet msbuild command(1)
Impressum