1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 13:26:01 +02:00
tldr/pages/common/msbuild.md
Vitor Henrique 46a054215a
pages*: make help and version commands comply with the style guide (#12107)
* pages*: use generic word for help

* git: add newline to the end

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* pages*: make help and version commands comply with the style guide

* java: fix Java name

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-01-30 12:55:24 +08:00

791 B

msbuild

The Microsoft build tool for Visual Studio project solutions. More information: https://learn.microsoft.com/visualstudio/msbuild.

  • Build the first project file in the current directory:

msbuild

  • Build a specific project file:

msbuild {{path/to/project_file}}

  • Set one or more semicolon-separated targets to build:

msbuild {{path/to/project_file}} /target:{{targets}}

  • Set one or more semicolon-separated properties:

msbuild {{path/to/project_file}} /property:{{name=value}}

  • Set the build tools version to use:

msbuild {{path/to/project_file}} /toolsversion:{{version}}

  • Display detailed information at the end of the log about how the project was configured:

msbuild {{path/to/project_file}} /detailedsummary

  • Display help:

msbuild /help