question

somedudewithapc-0263 avatar image
0 Votes"
somedudewithapc-0263 asked somedudewithapc-0263 commented

missing templates in visual studio 2019

I've been trying to find a Windows Forms Application (.NET Framework) template for ages and I just realized I don't have it on my visual studio. Can someone help with this?

(tags mean nothing i just had to have one to post this)

vs-generalwindows-forms
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.


Did you specify “C#” (or “Visual Basic”), “All platforms”, “All project type” in Create New Project dialog? Then you should see “Windows Forms App (.NET Framework)” in the list. What templates do you currently have?


0 Votes 0 ·
Philchel-8024 avatar image
0 Votes"
Philchel-8024 answered somedudewithapc-0263 commented
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

thanks so much for this, didnt even see that

0 Votes 0 ·
karenpayneoregon avatar image
0 Votes"
karenpayneoregon answered somedudewithapc-0263 commented

Templates are under C:\Users*username*\Documents\Visual Studio 2019\Templates\ProjectTemplates, see if they exists

113555-templates1.png



If you can't find the templates as per @Viorel-1 recommendation and need a C# windows form template for .NET Framework 4.8 (or earlier) or windows forms C# .NET Core, C#9 see my template repository on GitHub.

To installed a template, from Visual Studio menu, project, select export project template, check project template then follow the prompts. Once done the template will be available.

To use, select create new project, in the search text box, enter the name of the project just installed. Once found select it and provide a name. The template is now available for any Visual Studio solution.



113581-templates.png



templates1.png (4.6 KiB)
templates.png (56.1 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

thank you for putting this much effort in i just found that the other answer was a bit simpler so i accepted it, thatnks for helping though!

0 Votes 0 ·