Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > DTE Set Startup Project?
 

DTE Set Startup Project?

I have two projects and the first one is by default the startup project.

Using DTE, how can I set a specific projectto be the startup project when running in Visual Studio?

Thanks,

Kosmo

Kosmo007  Thursday, May 17, 2007 6:03 PM

Hi,

you can set the startup project through the solution properties like this:

dte.Solution.Properties.Item("StartupProject").Value = startupProject.Name;

hope helps.

Jose Escrich  Thursday, May 31, 2007 6:03 PM

Hi,

you can set the startup project through the solution properties like this:

dte.Solution.Properties.Item("StartupProject").Value = startupProject.Name;

hope helps.

Jose Escrich  Thursday, May 31, 2007 6:03 PM

You can use google to search for other answers

Custom Search

More Threads

• Argument monitoring itself?
• Copy items for BizTalk project fails
• renaming projects
• Issue with DSL Tool
• Uninstall of February 2008 GAX fails
• Testing a web site Using Visual studio 2005
• Per User Arbitrary State?
• Reuse Projects and Recipes
• T4 Editor beta available!
• Error installing the GAT - February 2007 CTP