projecttemplate

Changing namespace of the WPF Project Template

When I modify the xaml's cs's I will have to go in and manually modify the corresponding *.g.cs file. And it seems to get overwritten every time I rebuild. So my question is, what is the proper way to change the namespace on a WPF application that has been generated by the WPF project template? ...

Where is the Visual Basic COM project template?

I was at a class recently, and the instructor started a new Visual Studio 2008 project using a "COM project" template. Now that I'm back, I tried finding that template in my installation of VS2008 with no luck. Does anybody know where I can find that template, or failing that, what it might be doing to achieve its effect? ...

What is the best way to include references to my own assemblies in a project template?

Guess the question says it all. We have developed a library in C#, and now I wish to create a project template to aid in using the library correctly. I want new projects to include a reference to the library assembly, but would prefer not to have to deploy the assembly to the GAC, or to depend on the assembly residing in some specific ...

In what order are projects returned using ActiveSolutionProjects?

Hi Im using this code, inside a project template wizard. DTE dte = project.DTE; VSProject vsProj = (VSProject)project.Object; Array projects = (Array)dte.ActiveSolutionProjects; Project activeProject = (Project)projects.GetValue(0); But im curious in what order the projects are returned? The code above is running just after the proj...