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?