Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use dotnet msbuild in build.sh so targets can be supplied
This matches what build.ps1 does. `dotnet build` is an alias for `dotnet msbuild /t:Build`. If a user does `dotnet build /t:Foo`, dotnet ends up calling `dotnet msbuild /t:Build /t:Foo`, which may not be what the user expected. See https://github.com/dotnet/cli/issues/4815 for more information. So switch to running `dotnet msbuild` so user can supply targets to `build.sh` and it will just work. As an example: ./build.sh /t:BuildWithoutTesting Before this patch, this still ends up running `/t:Build`. After this patch it ends up running `/t:BuildWithoutTesting` as expected, without any surprises.
- Loading branch information