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:
-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 $?