VisualStudio 2017 Console Project template missing

2019-07-13 17:59发布

问题:

Yes, i've tried devenv/install, with no help. So, I don't have the Console C# Project option when creating the project, as shown here Currently i have installed windows basic pack - there's my 'about' screen.

I have just reinstalled Windows because i was getting the same exact problem on old system, and because VS2015 had interface bugs and crashed consequently, but it didn`t help(as well as reinstalling both VS 2015 and 2017 numerous times) Hope that you can guess whats wrong with my PC.

回答1:

Visual Studio 2017 setup allows you to very fine-grainedly install various "components" separately, or groups of components delivered as "workloads".

You're missing the workload named ".NET desktop development", which contains among others these project templates. So re-run setup and install that workload.



回答2:

You have a link, Open Visual Studio Installer in a New Project window that will allow you modify your installed components