Software Development Network>> Visual Studio>> LaunchWizard with new Zip Templates?
Sub SolutionExample()
' Macro example.
' This function creates a solution and adds a Visual C# Console
' project to it.
Dim soln As Solution2 = CType(DTE.Solution, Solution2)
Dim csTemplatePath As String
Dim csPrjPath As String = "C:\UserFiles\someFolder\MyCSProject"
< xml:namespace prefix = o ns = "urnchemas-microsoft-comfficeffice" />> >
MsgBox("starting")
' Get the project template path for a C# console project.
csTemplatePath = soln.GetProjectTemplate _
("Console Application", "CSharp")
> >
' Create a new C# Console project using the template obtained
' above.
soln.AddFromTemplate(csTemplatePath, csPrjPath, _
"New CSharp Console Project", False)
MsgBox("done")
End SubHTH - Sirkku
LaunchWizard with new Zip Templates?
Phil333
Duppi
Paulo Sebastiao
Sub SolutionExample()
' Macro example.
' This function creates a solution and adds a Visual C# Console
' project to it.
Dim soln As Solution2 = CType(DTE.Solution, Solution2)
Dim csTemplatePath As String
Dim csPrjPath As String = "C:\UserFiles\someFolder\MyCSProject"
< xml:namespace prefix = o ns = "urn
chemas-microsoft-com
ffice
ffice" /> > >
MsgBox("starting")
' Get the project template path for a C# console project.
csTemplatePath = soln.GetProjectTemplate _
("Console Application", "CSharp")
' Create a new C# Console project using the template obtained
' above.
soln.AddFromTemplate(csTemplatePath, csPrjPath, _
"New CSharp Console Project", False)
MsgBox("done")
End Sub
HTH - Sirkku