sdk: dotnet-install fails with windowsdesktop shared runtime
As per the documentation, I should be able to download a specific windows desktop runtime version using this command:
.\dotnet-install.ps1 -Version 5.0.0-alpha.1.20078.1 -Runtime windowsdesktop -NoPath -SkipNonVersionedFiles -InstallDir C:\Users\Administrator\AppData\Local\Temp\benchmarks-server-2516\wemfckkl.hgg
An error occurs:
[07:10:56.520] dotnet-install: Downloading link: https://dotnetcli.azureedge.net/dotnet/Runtime/5.0.0-alpha.1.20078.1/windowsdesktop-runtime-5.0.0-alpha.1.20078.1-win-x64.zip
[07:10:58.738] dotnet-install: Cannot download: https://dotnetcli.azureedge.net/dotnet/Runtime/5.0.0-alpha.1.20078.1/windowsdesktop-runtime-5.0.0-alpha.1.20078.1-win-x64.zip
[07:10:58.790] Could not find/download: ".NET Core Windows Desktop Runtime" with version = 5.0.0-alpha.1.20078.1
[07:10:58.790] Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
[07:10:58.790] At C:\Users\Administrator\AppData\Local\Temp\benchmarks-server-2516\jw0125sx.zuz\dotnet-install.ps1:660 char:5
[07:10:58.790] + throw "Could not find/download: `"$assetName`" with version = $Sp ...
[07:10:58.790] + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[07:10:58.790] + CategoryInfo : OperationStopped: (Could not find/...ET Core support:String) [], RuntimeException
[07:10:58.790] + FullyQualifiedErrorId : Could not find/download: ".NET Core Windows Desktop Runtime" with version = 5.0.0-alpha.
[07:10:58.790] 1.20078.1
[07:10:58.790] Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
And I verified that the version exists from the feed: https://dotnetfeed.blob.core.windows.net/dotnet-core/flatcontainer/microsoft.windowsdesktop.app/index.json
This is blocking aspnet benchmarks on Windows
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (15 by maintainers)
I wonder if it wouldn’t be easier to copy the WindowsDesktop builds from 3.0/3.1 from Runtime to WindowsDesktop instead of making this script ever more complicated?