I want to create a custom template for Visual Studio .NET that already has a GUID and some user parameters in it. I already found out how to create a custom template, how to put it in the new project dialog box and what I have to do to create the GUID while creating the project.
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
My problem is how to pass some user parameters that will be shown like the GUID in the new project. It would be perfect if a dialog box appeared when I pressed the create project button, and the strings I typed in there would appear in the new project.
I already read how to do so in Visual Studio 6.0., but I own Visual Studio 2003 and it seems to be totally different to manage this problem in the newer version. Do you know what I have to do? Thank you.
What you'll want to do is look at the examples for creating your own Wizards in Visual Studio .NET. If you've already figured out the template format, you're half way there. See the documentation for creating and programming Wizards at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxconcreatingwizard.asp.
Dig Deeper on Win Development Resources
Related Q&A from John Robbins
What is a JAD session? This term is referred to often in job postings and seems like some kind of brainstorm you carry out with a client to define IT...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.