0

When I go to create a new Project in VS Community 2017 and choose the project type "ASP.NET Web Application (.NET Framework)":

enter image description here

clicking ok only gives me an 'Empty' template option, and I can't add authentication or select to add references for Web Forms, MVC or Web API, the buttons and checkboxes are all disabled:

enter image description here

I've tried removing the "ASP.NET and web development" workload and re-installing it but that hasn't helped.

Is there something wrong with my templates, in which case what can I try to restore them, or is this Microsoft's way of forcing you to use .NET Core (I see you can select .NET Framework on the configuration screen if you do select the .NET Core template)?

1 Answers1

2

Try to run Visual Studio Installer again. Then tick marks those:-

Web & Cloud => ASP.NET & Web development

Other Toolsets => .NET core cross-platform development

and press Install. Hope it will works for you.

[Visual Studio Download Link][1]

[1]: https://visualstudio.microsoft.com/downloads/ Choose Community

mgsdew
  • 729
  • 1
  • 8
  • 27
  • Yep, installing the .NET Core workload fixed the .NET Framework template. Completely illogical, but it worked. Thanks! – Emily Graham Oct 23 '18 at 09:27