You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed swallowing the exception in the ScriptBlock, that results in meaningless error message "Exception calling invoke with 0 arguments". The initial problem does not reproduce on my machine, it might be a temporary problem with the storage. Feel free to reopen if the initial problem is still an issue.
I am trying to install dotnet core on Windows Server 2016 by following instructions in:
https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script
and it failed.
PS C:\scripts> ./dotnet-install.ps1 -Channel 2.1 -Version latest
dotnet-install: Downloading link: https://dotnetcli.azureedge.net/dotnet/Sdk/2.1.804/dotnet-sdk-2.1.804-win-x64.zip
dotnet-install: Cannot download: https://dotnetcli.azureedge.net/dotnet/Sdk/2.1.804/dotnet-sdk-2.1.804-win-x64.zip
dotnet-install: Downloading legacy link: https://dotnetcli.azureedge.net/dotnet/Sdk/2.1.804/dotnet-dev-win-x64.2.1.804.z
ip
Exception calling "Invoke" with "0" argument(s): "Failed to download
https://dotnetcli.azureedge.net/dotnet/Sdk/2.1.804/dotnet-dev-win-x64.2.1.804.zip."
At C:\opt\framework\dotnet-install.ps1:110 char:20
PS C:\scripts> ./dotnet-install.ps1 --channel LTS
dotnet-install: Downloading link: https://dotnetcli.azureedge.net/dotnet/Sdk/LTS/dotnet-sdk-LTS-win-x64.zip
dotnet-install: Cannot download: https://dotnetcli.azureedge.net/dotnet/Sdk/LTS/dotnet-sdk-LTS-win-x64.zip
dotnet-install: Downloading legacy link: https://dotnetcli.azureedge.net/dotnet/Sdk/LTS/dotnet-dev-win-x64.LTS.zip
Exception calling "Invoke" with "0" argument(s): "Failed to download
https://dotnetcli.azureedge.net/dotnet/Sdk/LTS/dotnet-dev-win-x64.LTS.zip."
At C:\opt\framework\dotnet-install.ps1:110 char:20
The text was updated successfully, but these errors were encountered: