diff options
author | Eric St. John <ericstj@microsoft.com> | 2016-09-16 01:30:53 +0300 |
---|---|---|
committer | Eric St. John <ericstj@microsoft.com> | 2016-09-16 01:37:01 +0300 |
commit | 013ad32b3e871bd86745e380088c55d877748356 (patch) | |
tree | 8c941df65702635c64aeec04489f6a7a5a86394d /init-tools.sh | |
parent | bcb4a69c47069249e373ae6db3e219a265875758 (diff) |
Update CLI's NuGet.Frameworks.dll
We need the latest compatibility mappings for NuGet but the CLI hasn't
yet picked up a new NuGet drop.
Workaround this by manually patching the NuGet.Frameworks.dll in CLI.
Diffstat (limited to 'init-tools.sh')
-rwxr-xr-x | init-tools.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/init-tools.sh b/init-tools.sh index a3db950ef4..ab8f9df2f2 100755 --- a/init-tools.sh +++ b/init-tools.sh @@ -123,6 +123,14 @@ if [ ! -e $__INIT_TOOLS_DONE_MARKER ]; then echo "ERROR: An error occured when trying to initialize the tools. Please check '$__init_tools_log' for more details."1>&2 exit 1 fi + + echo "Updating CLI NuGet Frameworks map..." + cp -u $__TOOLRUNTIME_DIR/NuGet.Frameworks.dll $__TOOLRUNTIME_DIR/dotnetcli/sdk/$__DOTNET_TOOLS_VERSION >> $__init_tools_log + if [ "$?" != "0" ]; then + echo "ERROR: An error occured when updating Nuget for CLI . Please check '$__init_tools_log' for more details."1>&2 + exit 1 + fi + touch $__INIT_TOOLS_DONE_MARKER echo "Done initializing tools." else |