microsoft / vscode-dotnettools

This is a feedback repository to capture issues logged for the C# Dev Kit and related extensions from Visual Studio Code
Other
208 stars 7 forks source link

[BUG] .NET Acquisition Failed: Validation of .dotnet installation for version 8.0.6x64 failed #1183

Open aminaatik opened 3 weeks ago

aminaatik commented 3 weeks ago

Describe the Issue

each time I try opening a file and running the file; i get an error message: Error Failed to download .NET 8.0: .NET Acquisition Failed: Validation of .dotnet installation for version 8.0.6~x64 failed: Expected executable does not exist at "/Users/mohamedsmayow/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.6~x64/dotnet"

Steps To Reproduce

In this environment I receive an error message: Error Failed to download .NET 8.0: .NET Acquisition Failed: Validation of .dotnet installation for version 8.0.6~x64 failed: Expected executable does not exist at "/Users/mohamedsmayow/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.6~x64/dotnet"

Expected Behavior

No response

Environment Information

macOs

nagilson commented 2 days ago

May you attach a log please so we can further investigate?

Our log files are located alongside VS Code logs. If you want to find them manually, navigate here: Linux: ~/.config/Code/logs Mac: ~/Library/Application Support/Code/logs/ Windows: c:\Users\USER\AppData\Roaming\Code\logs\

Then find the folder created at the time you experienced the bug in the logs folder. From there, go to window1 -> exthost -> ms-dotnettools.vscode-dotnet-runtime. The log file should be located in this folder.

Note: The window folder may change depending on how many VS Code windows you have open; if our extension is running in the 2nd window, it'd be in a folder called window2.