Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

How to Programmatically Select The Startup Project?

$
0
0

I've tried a number of different way to programatically select the startup project, but none of them result in the project being selected in Solution Explorer.

DTE.Solution.SolutionBuild.StartupProjects is a collection of strings, so that doesn't help.

DTE.ActiveSolutionProjects is a collection of already selected projects, so that doesn't help.

DTE.Solution.Projects gives me a folder if I have the project in a solution folder, so it's not really even a collection of projects in the solution.

I must be missing something obvious, but I haven't for the life of me been able to figure out how to select the startup project from code.

Anyone got any ideas?

TIA


Yann - LightSwitch Central - Click here for FREE Themes, Controls, Types and Commands
 
If you find a reply helpful, please click "Vote as Helpful", if a reply answers your question, please click"Mark as Answer"
 
By doing this you'll help people find answers faster.

Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>