Skip to content

InterpretExitCode should hide full error details  #2297

@IcarusTalon

Description

@IcarusTalon

Describe the bug.

Installing dotnet SDK 8 (8.0.410) into VS Code fails with an error.

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

The log file locatioAn error occurred while installing .NET: .NET Acquisition Failed: {"isError":true,"error":{"eventType":"DotnetNonZeroInstallerExitCodeError"},"install":{"installId":"8.0.410-global~x64","version":"8.0.410","architecture":"x64","isGlobal":true,"installMode":"sdk"},"type":5,"eventName":"DotnetNonZeroInstallerExitCodeError"}n should be copied to your clipboard if you came from VS Code.

Reproduction Steps

I had SDK 9 installed, but in VS Code in my first project at some point I lost the ability to open the solution explorer. I tried many things to get it to work, restarts of VS Code, the computer, etc. Eventually I uninstalled SDK 9, and cleaned out my "Code" folder in users(to clean out VS Code settings) and my ".vscode" folder to clean out the extension settings. I then reopened VS Code, and reinstalled the C# Dev Kit. Then installing the .NET SDK 8 because 9 seemed to be having problems, I got the error shown above.

Expected Behavior

I don't know. I have not used .NET in VS Code. I guess the expected behaviour would be that it works without errors? And it does not frustrate me to the point where I hate my life? I am just trying to follow a tutorial to make a .NET WepAPI that is from the Visual Studio channel on Youtube. :(

Exceptions & Errors (if any)

The log file locatioAn error occurred while installing .NET: .NET Acquisition Failed: {"isError":true,"error":{"eventType":"DotnetNonZeroInstallerExitCodeError"},"install":{"installId":"8.0.410-global~x64","version":"8.0.410","architecture":"x64","isGlobal":true,"installMode":"sdk"},"type":5,"eventName":"DotnetNonZeroInstallerExitCodeError"}n should be copied to your clipboard if you came from VS Code.

.NET Install Tool Version

v2.3.5

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

Windows

VS Code Version

1.100.3(user setup)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions