Visual Studio Development Bookmark and Share   
 index > Visual Studio Extensibility > trying to find the build order for a batch build from the API
 

trying to find the build order for a batch build from the API

I'm trying to find the projects/configs selected to be built in a batch build by the user. Solution is easy, just loop through them all. Project is easy by using selected items. Batch, I can't find. I've tried looping through every possible function that produces a project name through EnvDTE and VCProjectsEngineLibrary. There just has to be something I missed.
tcblank  Sunday, February 25, 2007 10:27 PM
I'm having the same problem. I don't thinks this is exposed in the automation model. Can anyone confirm?
Microsoft MVP VC++ | www.mariusbancila.ro/blog | www.codexpert.ro
Marius Bancila  Thursday, May 07, 2009 2:24 PM
Just checking, but did you find an easier way to get the solution build projects/order than the following algorithm:

Get a list of projects in the solution
Filter the list to only projects selected to be built
Apply a directed graph sort to get a valid build order (not necessarily the same one the IDE has chosen)

Thanks, Sam
a280Z28  Thursday, May 07, 2009 3:22 PM

You can use google to search for other answers

Custom Search

More Threads

• VS 20005 Multi project template
• Newbie question: Is integrating with the designer possible?
• Custom editor for files of specific extension
• Display a message in the status bar from an add-in
• How to detect if file is modified? (and not saved)
• How to support Exception Assistant
• Multiple viewpoints/ zoom in, zoom out
• Auto Sync "Track Active Item in Solution Explorer" feature isn't.
• Debugging custom project type
• DSL Tools: Dynamic Context Menu Creation