question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing 3.1.100-preview3-014709 via dotnet-install.ps1 fails with unknown error

See original GitHub issue

Hello,

I tried to download an install the latest 3.1.100 preview (3.1.100-preview3-014709) via dotnet-install.ps1 script and the install process fails with an unknown error:

".NET Core SDK" with version = 3.1.100-preview3-014709 failed to install with an unknown error.
At D:\Proggen\DotNET\dotnet-install.ps1:669 char:5
+     throw "`"$assetName`" with version = $SpecificVersion failed to i ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : OperationStopped: (".NET Core SDK" wit\u2026h an unknown error.:String) [], RuntimeException
+ FullyQualifiedErrorId : ".NET Core SDK" with version = 3.1.100-preview3-014709 failed to install with an unknown error.

Downloading via https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.100-preview3-014709/dotnet-sdk-3.1.100-preview3-014709-win-x64.zip and manually unpacking works but there are 3.1.0 (no preview suffix!) folders all over the place.

I’m confused. Why is this package tagged as preview but has no preview folder/components in it?

dotnet --info
A JSON parsing exception occurred in [D:\Proggen\DotNET\global.json], offset 3 (line 2, column 2): Missing a name for object member.
.NET Core SDK (reflecting any global.json):
 Version:   5.0.100-alpha1-015730
 Commit:    b01c4f4d23

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.18363
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\5.0.100-alpha1-015730\

Host (useful for support):
  Version: 5.0.0-alpha.1.19563.6
  Commit:  8743c312a9

.NET Core SDKs installed:
  2.1.802 [C:\Program Files\dotnet\sdk]
  2.2.402 [C:\Program Files\dotnet\sdk]
  3.0.100 [C:\Program Files\dotnet\sdk]
  3.1.100-preview2-014569 [C:\Program Files\dotnet\sdk]
  3.1.100-preview3-014706 [C:\Program Files\dotnet\sdk]
  3.1.100 [C:\Program Files\dotnet\sdk]
  5.0.100-alpha1-015730 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.0-preview2.19528.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.0-preview3.19555.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.0-alpha1.19559.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.0-preview2.19525.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.0-preview3.19553.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.0-alpha.1.19563.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 3.1.0-preview2.19525.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 3.1.0-preview3.19553.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 3.1.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.0-alpha.1.19563.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

dotnet-install scripts - .NET CLI
The dotnet-install scripts perform a non-admin installation of the .NET SDK, which includes the .NET CLI and the shared runtime.
Read more >
[SOLVED] Need help with .net install with powershell.
I get the the following error, am I doing something wrong? Command. dotnet-install.ps1 -Architecture x64 -Channel production -Version 3.1.2.
Read more >
install_dotnet_sdk.ps1
#!/usr/bin/env powershell. # Install dotnet SDK needed to build C# projects on Windows. Set-StrictMode -Version 2. $ErrorActionPreference = 'Stop'.
Read more >
error while installing dotnet 6 sdk using PowerShell ...
NET 6 SDK using PowerShell script, and I got the error below: dotnet-install.ps1: Exception calling "ExtractToFile" with "3" argument(s): "The ...
Read more >
dotnet-install does not work with .NET5?
dotnet-install.ps1 -Channel 5.0. Gives the following error: Could not resolve version information. .NET.netinstall.. This issue is read ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found