Articles → .NET → Create your own project template using Visual Studio

Create your own project template using Visual Studio





  1. Software requirement
  2. Prerequisite knowledge
  3. What is a Visual Studio project template?
  4. Creation of a new project.
  5. Adding files.
  6. Export template.
  7. Create a new project.
  8. Output.



Software requirement





Prerequisite knowledge




  1. What is Visual Studio?
  2. What are the different project types (the knowledge of web based application and windows based application will help).
  3. How to create a project using Visual Studio?

What is a Visual Studio project template?




Picture showing the New Project window for selecting teh console application

Click to Enlarge



Picture showing the project structure in the solution explorer of the visual studio

Click to Enlarge




Creation of a new project




Picture showing the Main function of the console application

Click to Enlarge


Adding files


Picture showing adding the class1.cs and class2.cs in the console application type project

Click to Enlarge




Export template




Picture showing the Export Template... option in context menu for exporting the project template

Click to Enlarge



Picture showing the first screen of the export template wizard to select the template type

Click to Enlarge







Picture showing the second screen of the export template wizard to enter the template name

Click to Enlarge

















Picture showing the different parts of the template while creating the new project

Click to Enlarge





Picture showing the custom template in the visual studio installed template

Click to Enlarge


Output


Picture showing the file structure solution explorer of custom type template

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Friday, April 20, 2012

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250