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-20 02:37:08 +0300
committerJose Perez Rodriguez <joperezr@microsoft.com>2017-01-20 02:37:08 +0300
commitd7d5afec6f0d19f6e2ca4f6449b9a97a6cd1a7f9 (patch)
treec6ff6742735d4f006a2e00f876c676d2422997f6
parent8131778f428c707ec9f2861cbb5f67f11e4652cc (diff)
Fixing hack of pre-building CoreFx.Tools to avoid assembly loading issue
-rw-r--r--Tools-Override/MSBuild.runtimeconfig.json11
-rwxr-xr-xbuild.sh5
-rwxr-xr-xsync.sh11
3 files changed, 11 insertions, 16 deletions
diff --git a/Tools-Override/MSBuild.runtimeconfig.json b/Tools-Override/MSBuild.runtimeconfig.json
new file mode 100644
index 0000000000..167e7dc1f3
--- /dev/null
+++ b/Tools-Override/MSBuild.runtimeconfig.json
@@ -0,0 +1,11 @@
+{
+ "runtimeOptions": {
+ "framework": {
+ "name": "Microsoft.NETCore.App",
+ "version": "1.1.0"
+ },
+ "configProperties": {
+ "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true
+ }
+ }
+} \ No newline at end of file
diff --git a/build.sh b/build.sh
index 8757392fa4..2ff8a4ee8c 100755
--- a/build.sh
+++ b/build.sh
@@ -28,10 +28,5 @@ 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 $?
diff --git a/sync.sh b/sync.sh
index 3f33196977..835b3c9ed9 100755
--- a/sync.sh
+++ b/sync.sh
@@ -6,16 +6,5 @@ fi
working_tree_root="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-$working_tree_root/init-tools.sh
-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.
-"$working_tree_root/Tools/msbuild.sh" "$working_tree_root/src/Tools/CoreFx.Tools/CoreFx.Tools.csproj /v:m /m"
-if [ $? -ne 0 ];then
- exit 1
-fi
-
$working_tree_root/run.sh sync $__args $*
exit $?