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

Cancelled Installation of .NET 8.0.10. #2022

Closed
VijayTNP opened this issue Nov 13, 2024 · 9 comments
Closed

Cancelled Installation of .NET 8.0.10. #2022

VijayTNP opened this issue Nov 13, 2024 · 9 comments

Comments

@VijayTNP
Copy link

Describe the bug.

Cancelled Installation of .NET 8.0.10.

Please attach log file(s) here if you have any.

The log file location should be copied to your clipboard if you came from VS Code.

Reproduction Steps

Cancelled Installation of .NET 8.0.10.

Expected Behavior

Cancelled Installation of .NET 8.0.10.

Exceptions & Errors (if any)

No response

.NET Install Tool Version

Cancelled Installation of .NET 8.0.10.

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

N/A

VS Code Version

No response

@boundless-bliss
Copy link

Same happening to me while opening my VSCode today, haven't changed anything or modified/installed. Just booted PC and opened VSCode
Image

@quantvhq999
Copy link

quantvhq999 commented Nov 13, 2024

Reinstall .NET work for me
https://dotnet.microsoft.com/en-us/download
Image

@cliveatfive
Copy link

Same for me -- and I was unable to install .NET 8 or 9 using the standalone installer. Error log reads as follows:

[99F8:8F8C][2024-11-12T23:23:03]i304: Verified existing payload: AspNetCoreSharedFramework_x64 at path: C:\ProgramData\Package Cache{A79CA1F2-D440-3F40-9898-6C1A5E1DD40E}v8.0.11.24521\aspnetcore-runtime-8.0.11-servicing.24521.16-win-x64.msi.
[99F8:41E0][2024-11-12T23:23:03]e000: Error 0x80070643: Failed to install MSI package.
[99F8:41E0][2024-11-12T23:23:03]e000: Error 0x80070643: Failed to execute MSI package.
[9654:38AC][2024-11-12T23:23:03]e000: Error 0x80070643: Failed to configure per-machine MSI package.

@prashanth-g
Copy link

I see the below error in OUTPUT in vscode

Cancelled Installation of .NET 8.0.10.
The requested and or resolved version is invalid.

@nevel94
Copy link

nevel94 commented Nov 13, 2024

Image
Same for me, reinstalling VS code or .NET doesn't help

@peyronth
Copy link

As a temporary fix you can set C# extension version to 2.50.27 (Click on the down arrow next to uninstall button from extension details page).

Screencast.from.13-11-2024.10.32.09.webm

If still not working you can also set dotnetSDKAcquisitionExtension.installTimeoutValue to a higher value.

@johny-kampe
Copy link

johny-kampe commented Nov 13, 2024

Edited: It worked!

I also have the same problem. I get these errors:
Image
Image

@peyronth I'm applying the fix that you proposed and I'll let you guys if it worked for me. So far it downloads the .NET for around 20'. I increased the propery for the timeout in the settings.json by a lot ("dotnetAcquisitionExtension.installTimeoutValue": 6000)
Image

@nagilson
Copy link
Member

Thanks for your resolution everyone. I found the issue with the most comments and proposed a resolution here.
-> #2021 <- You can read how to resolve it, etc, here.

I'm gonna close this issue since this is a duplicate issue.

@ArkanFaujdar
Copy link

Image Same for me, reinstalling VS code or .NET doesn't help

  1. Uninstall all the existing dotnet SDK.
  2. Also uninstall .NET Install Tool Extension in VS Code for safer side
  3. Download the latest dotnet SDK from here : https://dotnet.microsoft.com/en-us/download (FOR MAC OS)
  4. Go to Settings JSON in VS Code. Press Command + Shift + P and search Settings JSON and make sure the path is correct
    -----> { "dotnetAcquisitionExtension.sharedExistingDotnetPath": "/usr/local/share/dotnet/dotnet" }
  5. Install the C# Dev Kit again
  6. This should solve the issue.

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

10 participants