Skip to content

Remove bad example #10496

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions docs/msbuild/msbuild-command-line-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,12 @@ Square brackets `[]` indicate optional parts, and curly braces `{}`indicate user
|`-noConsoleLogger`<br/><br/>`-noconlog`|Disable the default console logger, and don't log events to the console.|
|`-terminalLogger[:auto`,`on`,`off]`<br/><br/>`-tl[:auto`,`on`,`off]`|Enable or disable the [terminal logger](https://devblogs.microsoft.com/dotnet/announcing-dotnet-8-preview-4/#msbuild-new-modern-terminal-build-output). Terminal logger provides enhanced build output on the console in real time, organized logically by project, and designed to highlight actionable information. Specify `auto` (or use the option without arguments) to use the terminal logger only if the standard output is not redirected. Don't parse the output or otherwise rely on it remaining unchanged in future versions. This option is available in MSBuild 17.8 and later.|

## Example 1
## Example

The following example builds the `rebuild` target of the *MyProject.proj* project.

`MSBuild.exe MyProject.proj -t:rebuild`

## Example 2

You can use *MSBuild.exe* to perform more complex builds. For example, you can use it to build specific targets of specific projects in a solution. The following example rebuilds the project `NotInSolutionFolder` and cleans the project `InSolutionFolder`, which is in the *NewFolder* solution folder.

`msbuild SlnFolders.sln -t:NotInSolutionfolder:Rebuild;NewFolder\InSolutionFolder:Clean`

## See also

- [MSBuild reference](../msbuild/msbuild-reference.md)
Expand Down