Click here to Skip to main content
15,947,411 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I need to create a new own project template in visual studio with new language, just like when we open visual studio-> create a new project-> c# project template, like that newly created project template should be visible.

What I have tried:

I tried to create template by using the existing templates.
Posted
Updated 8-Aug-23 23:35pm
Comments
Richard MacCutchan 9-Aug-23 5:40am    
I have done this for C++ templates and it works well. The link given below by Richard Deeming provides full details.

You haven't given us anything to go on, so all we can do is point you to the documentation:

Create project templates - Visual Studio (Windows) | Microsoft Learn[^]
 
Share this answer
 
To add to what Richard has said, you can create a template for projects, classes, and files pretty easily - just follow the link he gave, and also see here: Template Parameters | Microsoft Learn[^]

But ... you can't add a new language to visual studio, only create projects for the languages it already knows. You can add support for new languages to the editor - Add editor support for other languages - Visual Studio (Windows) | Microsoft Learn[^] - but you can't add a language and expect it to be compiled, debugged, and released within the IDE itself.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900