2

after updating Visual Studio 2019 To 2022, I can't create a console app anymore. enter image description here

I expected to have something like this: enter image description here

I tried to reinstall VS few times and tick all items below but still not work: enter image description here

Jacky
  • 33
  • 5
  • 1
    For the Web and Console section to be displayed you should only need to install the .NET SDK, which from the installer screenshot, that seems to be the case. I would check Visual Studio for Mac's Preferences - Projects - SDKs and Locations - .NET Core and see if the path registered there is /usr/local/share/dotnet and if the .NET SDK is being found. My only guess is that dotnet is being found on the PATH at some non-default location, and there are no .NET SDKs available there. – Matt Ward Jun 11 '22 at 17:07
  • 3
    thanks! I can do it now (the path I used: Visual Studio>preference>build and debug>Sdk Locations>.Net Core) – Jacky Jun 15 '22 at 10:31
  • I'm having the same issue. I tried this fix but the SDK was already found by VS. I did the full uninstall of .NET and then reinstalled it using Visual Studio Installer for Mac but I'm still missing the Web and Console section :( – Michael Jul 16 '22 at 15:58

0 Answers0