mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
The Microsoft Build Engine is a platform for building applications. This engine, which is also known as MSBuild, provides an XML schema for a project file that controls how the build platform processes and builds software. Visual Studio uses MSBuild, but MSBuild does not depend on Visual Studio. By invoking msbuild.exe on your project or solution file, you can orchestrate and build products in environments where Visual Studio isn't installed. Differential Revision: https://reviews.freebsd.org/D14135
20 lines
956 B
Bash
20 lines
956 B
Bash
--- build/build.sh.orig 2018-06-25 18:50:41 UTC
|
|
+++ build/build.sh
|
|
@@ -151,7 +151,7 @@ function ExitIfError {
|
|
then
|
|
echo "$2"
|
|
|
|
- if [[ "$ci" != "true" && "$dotnetBuildFromSource" != "true" ]]; # kill command not permitted on CI machines or in source-build
|
|
+ if [[ "$ci" != "true" && "$dotnetBuildFromSource" != "true" && "$hostType" != "mono" ]]; # kill command not permitted on CI machines or in source-build
|
|
then
|
|
StopProcesses
|
|
fi
|
|
@@ -343,7 +343,7 @@ function Build {
|
|
|
|
local logCmd=$(GetLogCmd Build)
|
|
|
|
- commonMSBuildArgs="/m /clp:Summary /v:$verbosity /p:Configuration=$configuration /p:SolutionPath=$(QQ $MSBuildSolution) /p:CIBuild=$ci /p:DisableNerdbankVersioning=$dotnetBuildFromSource"
|
|
+ commonMSBuildArgs="/m /clp:Summary /v:$verbosity /p:Configuration=$configuration /p:SolutionPath=$(QQ $MSBuildSolution) /p:CIBuild=$ci /p:DisableNerdbankVersioning=true"
|
|
|
|
# Only enable warnaserror on CI runs.
|
|
if $ci
|