Cosmos icon indicating copy to clipboard operation
Cosmos copied to clipboard

Exception of tyne 'System.Exception' was thrown.

Open sarmadhamdani02 opened this issue 10 months ago • 4 comments

Hi there! 👋

So, I am trying to set up Cosmos to work with Visual Studio, I have installed every dependency.

Problem The problem is whenever I try to create a project using the COSMOS kernel template in Visual Studio, I get a dialogue box that says "Exception of type 'System.Exception' was thrown."

Screenshots image

I have used different versions of Visual Studio and .net framework and SDK, also, I have re-installed Visual Studio and Cosmos several times. But couldn't fix this problem.

sarmadhamdani02 avatar Mar 29 '24 09:03 sarmadhamdani02

U need net 6

GeorgeFence avatar Mar 29 '24 09:03 GeorgeFence

Thanks for the response @GeorgeFence.

Even with .Net 6, it is not working ☹

sarmadhamdani02 avatar Mar 29 '24 13:03 sarmadhamdani02

Try to modify your Visual Studio by installing .NET Native package, it can help.

diegoy2k avatar Apr 03 '24 06:04 diegoy2k

check #2615

randomusert avatar Apr 24 '24 17:04 randomusert