Home > Blockchain >  the project doesn't know how to run the profile ConsoleApp
the project doesn't know how to run the profile ConsoleApp

Time:11-11

I just downloaded Visual Studio 2022 (Although I much preferred 2019 but can't find it) and as soon as I open a simple "Hello World" project and try to run it, I have an error. this is pain

Using .Net 5.0 Runtime am I missing a file in my downloads?

How can I fix this? is this a 2022 issue or if I miraculously find Visual Studio 2019 somewhere online it'll show the same error?

UPDATE: 2019 works fine, it's just 2022. I'll work on 2019 but if anyone has a solution maybe it'll help other people :)

CodePudding user response:

I met the same issue today and finally solved it. My steps:

  1. open the Visual Studio Installer, under the "Installed" label, you can see the installed vs2022.
  2. click "More" and then choose the first "Repair" option.
  3. wait about 30 minutes' repair and restart the system by the tips.
  • Related