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.
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:
- open the Visual Studio Installer, under the "Installed" label, you can see the installed vs2022.
- click "More" and then choose the first "Repair" option.
- wait about 30 minutes' repair and restart the system by the tips.