Articles → .NET → Create Your Own Project Template Using Visual Studio

Create Your Own Project Template Using Visual Studio






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