Home > Back-end >  When Installing 2019 Visual Studio Community, how to add C# templates?
When Installing 2019 Visual Studio Community, how to add C# templates?

Time:10-02

I've installed VS Community edition 2019 on Asus Win 10, but there are not any templates of C#. Choosing from boxes, nothing appears in the editor. WinForms etc, enter image description here

CodePudding user response:

You have to modify the visual studio installer like below enter image description here

Then, you have to install .Net desktop development like below enter image description here

CodePudding user response:

You're adding items to a solution, not creating a new project.

The screenshot you've shown is of the list showing items you can add. To create a new project, you either have to go to File > New > Project or press the Create a new project button on the homepage.

If you've installed any .NET modules, C# project templates should show up there.

If you still can't see any, open the Visual Studio Installer, make sure you're on the Installed tab, and click Modify on Visual Studio Community 2019.
Then, after making sure you're on the Workloads tab, tick .NET desktop developement, then click Modify at the bottom-right.

Once you've done all that, you should be able to find plenty of C# project templates, as well as VB and F# ones.

  • Related