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

How to build projects in solution using DTE?

$
0
0

I have three projects in solution and trying to build all the projects in solution by below code.
But it builds startup project alone.


var solutionBuilder = dte.Solution.SolutionBuild;
solutionBuilder.Build(true);
solutionBuilder.StartupProjects.Count returns one. There is no info about 3 projects in SolutionBuilder instance.

Is there any other way to build all the projects in solution?


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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