diff options
author | Jose Perez Rodriguez <joperezr@microsoft.com> | 2017-01-20 02:37:08 +0300 |
---|---|---|
committer | Jose Perez Rodriguez <joperezr@microsoft.com> | 2017-01-20 02:37:08 +0300 |
commit | d7d5afec6f0d19f6e2ca4f6449b9a97a6cd1a7f9 (patch) | |
tree | c6ff6742735d4f006a2e00f876c676d2422997f6 | |
parent | 8131778f428c707ec9f2861cbb5f67f11e4652cc (diff) |
Fixing hack of pre-building CoreFx.Tools to avoid assembly loading issue
-rw-r--r-- | Tools-Override/MSBuild.runtimeconfig.json | 11 | ||||
-rwxr-xr-x | build.sh | 5 | ||||
-rwxr-xr-x | sync.sh | 11 |
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 @@ -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 $? @@ -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 $? |