Jaycee Evangelista
Jaycee Evangelista

Reputation: 1127

Missing Windows Form Templates in newly Installed Visual Studio 2015

Missing Windows Form Templates

Good Day Everyone. Above is the image of the templates I have in my newly installed Visual Studio 2015. I installed it yesterday and noticed that some templates are missing. Specifically Windows Form. I don't know why it became like this.

What do you think is the reason behind this? And what should I do. Thanks.

Upvotes: 4

Views: 4746

Answers (2)

Abdulrahman Bres
Abdulrahman Bres

Reputation: 2913

  1. Close Visual Studio

  2. Open "visual studio command prompt" and run the command:

    devenv /installvstemplates

Source

Upvotes: 1

Bretonator
Bretonator

Reputation: 81

I had a similar problem and solved it by installing the "C++/CLI support" under the Desktop Development with C++.

Steps:

  • 1: click on New Project in Visual Studio 2017
  • 2: click on "Open Visual Studio Installer" which is right above the Name field box
  • 3: when the installer opens, click on "Desktop Development with C++" on the right-hand side. Step 3
  • 4: check the "C++/CLI support" Step 4
  • 5: Close down Visual Studio 2017
  • 6: click the Modify button at the bottom left. Step 6
  • 7: Re-launch VS when it is done.
  • 8: if all has gone right, you should have access to windows forms in c# What it should look like

The reason may be due to Windows Forms running on a C++ framework. Without the C++/CLI Support installed, the Windows Forms might not run.

Upvotes: 4

Related Questions