Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Offline Message - [NETE2ESDK] Installing .NET 2.0-aspnetcore runtime failed with "No internet connection detected: Cannot install .NET " #1850

Open
v-xiaofchen opened this issue Jun 25, 2024 · 5 comments

Comments

@v-xiaofchen
Copy link

v-xiaofchen commented Jun 25, 2024

Describe the bug.

Installing .NET 2.0-aspnetcore runtime failed with "No internet connection detected: Cannot install .NET "

Reproduction Steps

1.Run the 'Sample: Acquire ASPNET runtime' or 'Sample: Acquire all 2.X ASPNET Runtimes Concurrent' command. You should be asked to enter a Major. Minor version, please enter 2.0.
2.observe the output

Expected Behavior

.NET 2.0-aspnetcore runtime installed successfully

Exceptions & Errors (if any)

Installing .NET 2.0-aspnetcore runtime failed with "No internet connection detected: Cannot install .NET "
Sample: Acquire ASPNET runtime:
image
Sample: Acquire all 2.X ASPNET Runtimes Concurrent:
image

.NET Install Tool Version

dotnet-install-tool-2.0.7

Your operating system? Please provide more detail, such as the version and or distro above.

N/A

VS Code Version

1.90.2

@v-xiaofchen
Copy link
Author

This issue also repro on .NET 9.0-aspnetcore runtime
image

@nagilson
Copy link
Member

This is a good catch, thank you. The problem is that the server which hosts these files no longer has 2.0.9 on it, so it fails. The message should be improved, but its not an issue that this is no longer available via this method. For preview 5, I also think this is more of a server side issue not with this product.

Not a release blocker, leaving this open to fix offline message.

@nagilson nagilson changed the title [NETE2ESDK] Installing .NET 2.0-aspnetcore runtime failed with "No internet connection detected: Cannot install .NET " Improve Offline Message - [NETE2ESDK] Installing .NET 2.0-aspnetcore runtime failed with "No internet connection detected: Cannot install .NET " Jun 25, 2024
@nagilson nagilson added the P2 label Jun 25, 2024
@nagilson
Copy link
Member

nagilson commented Aug 5, 2024

This should be improved with a correct error message in the pending release

@v-xiaofchen
Copy link
Author

On dotnet-install-tool-2.1.2, the error message is displayed as " .NET install time out ".
image

@nagilson
Copy link
Member

nagilson commented Aug 19, 2024

I think this is because 2.0.9 of aspnet does not exist anymore... this is the behavior I would expect now if the version does not exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants