Shah Sarmad
Shah Sarmad

Reputation: 1

Exception of type 'System.Exception' was thrown. Error in Cosmos Project

I am trying to work on Operating System in C# through Cosmos. I am using Visual Studio 2022.
The problem is every time I press create project button after selecting the COSMOS Kernal project template I get the following error

Exception of type 'System.Exception' was thrown

image of error

Please help,

regards

I am trying to create COSMOS Project in Visual Studio 2022 using Cosmos Kernal template and keep getting System.Exception error.

Upvotes: 0

Views: 457

Answers (2)

Data Pro MZ
Data Pro MZ

Reputation: 1

yes, update VS 2022 will fix Exception of type 'System.Exception' was thrown problem. I have update VS 2022 to 17.12.2 and problem didn't come back when I opened solution from local workspace.

Upvotes: 0

Seedless
Seedless

Reputation: 1

I just had this issue and resolved it by going to help / check for updates. I was on 17.10.3 and the update was to 17.10.5. During the update there was a message ".NET 7.0 Runtime (Out of support)" which I believe was the issue.

Upvotes: 0

Related Questions