Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Perez Rodriguez <joperezr@microsoft.com>2017-01-13 02:43:51 +0300
committerJose Perez Rodriguez <joperezr@microsoft.com>2017-01-13 02:43:51 +0300
commit05d190de1ecf5d023ab0d288fa95ea751d2325af (patch)
treedcb2d7ec1a5139f98201ec4e046f7d489ed5106d /build.sh
parentcd09ed33da2e00f536156e3dbfda09c08536c325 (diff)
Adding workaround to build CoreFx.Tools project before calling build-managed to fix non-Windows builds
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 2ff8a4ee8c..8757392fa4 100755
--- a/build.sh
+++ b/build.sh
@@ -28,5 +28,10 @@ if [ $? -ne 0 ];then
exit 1
fi
+# Building CoreFx.Tools before calling build-managed.sh to workaround an Assembly loading bug caused by the new cli host.
+"$__scriptpath/Tools/msbuild.sh" "$__scriptpath/src/Tools/CoreFx.Tools/CoreFx.Tools.csproj" /v:m /m
+if [ $? -ne 0 ];then
+ exit 1
+fi
"$__scriptpath/build-managed.sh" $*
exit $?