File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ dotnet build [<PROJECT>|<SOLUTION>|<FILE>] [-a|--arch <ARCHITECTURE>]
2323 [-p|--property:<PROPERTYNAME>=<VALUE>] [-r|--runtime <RUNTIME_IDENTIFIER>]
2424 [--sc|--self-contained] [--source <SOURCE>]
2525 [--tl:[auto|on|off]] [ --ucr|--use-current-runtime]
26- [-v|--verbosity <LEVEL>] [--version-suffix <VERSION_SUFFIX>]
26+ [-v|--verbosity <LEVEL>] [-bl|--binaryLogger:<FILE>] [- -version-suffix <VERSION_SUFFIX>]
2727
2828dotnet build -h|--help
2929```
@@ -81,6 +81,19 @@ Running `dotnet build` is equivalent to running `dotnet msbuild -restore`; howev
8181
8282- [ !INCLUDE [ artifacts-path] ( ../../../includes/cli-artifacts-path.md )]
8383
84+ - ** ` -bl|--binaryLogger:<FILE> ` **
85+
86+ Enables the binary logger and optionally specifies the output file name.
87+ If no file name is provided, the default is ` msbuild.binlog ` in the current directory.
88+
89+ The binary log contains detailed build information and can be opened with the
90+ [ MSBuild Structured Log Viewer] ( https://msbuildlog.com ) .
91+
92+ ``` dotnetcli
93+ dotnet build --bl
94+ dotnet build --bl:build-log.binlog
95+ ```
96+
8497- [ !INCLUDE [ configuration] ( ../../../includes/cli-configuration.md )]
8598
8699- [ !INCLUDE [ disable-build-servers] ( ../../../includes/cli-disable-build-servers.md )]
@@ -193,3 +206,4 @@ Running `dotnet build` is equivalent to running `dotnet msbuild -restore`; howev
193206 ``` dotnetcli
194207 dotnet build -p:Version=1.2.3.4
195208 ```
209+
You can’t perform that action at this time.
0 commit comments