Skip to content

Commit

Permalink
Fix Git URL in readme. (#6331)
Browse files Browse the repository at this point in the history
Also add a line about how to build Release.
  • Loading branch information
KirillOsenkov committed Apr 8, 2021
1 parent bab9b71 commit 9bcc06c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -36,12 +36,13 @@ To get started on **Visual Studio 2019**:
- .NET desktop development
- .NET Core cross-platform development
2. Open a `Developer Command Prompt for VS 2019` prompt.
3. Clone the source code: `git clone https://github.com/Microsoft/msbuild.git`
3. Clone the source code: `git clone https://github.com/dotnet/msbuild`
- You may have to [download Git](https://git-scm.com/downloads) first.
4. Run `.\build.cmd` from the root of the repo to build the code. This also restores packages needed to open the projects in Visual Studio.
5. Open `MSBuild.sln` or `MSBuild.Dev.slnf` in Visual Studio 2019.

Note: To create a usable MSBuild with your changes, run `.\build.cmd /p:CreateBootstrap=true`.
To build release, add `-c Release`: `.\build.cmd -c Release /p:CreateBootstrap=true`.

This newly-built MSBuild will be located at `artifacts\bin\bootstrap\net472\MSBuild\Current\Bin\MSBuild.exe`. It may not work for all scenarios, including C++ builds.

Expand Down

0 comments on commit 9bcc06c

Please sign in to comment.