Macros ActiveSolutionProjects

  • Thread starter Thread starter Nick
  • Start date Start date
N

Nick

Hi There,

I'm a little confused how the ActiveSolutionProjects property works in
the DTE object whilst working with macros. I would have thought that this
would return an array of every active project in the current solution, but
it does not, it seems to only return the last one that is being build.

I would like to act upon every project that is built but am not sure
how. If anyone could point me in the right direction I would be most
appreciative.
 
I've ended up using a different work around, by adding the name of each
build project to an array and then analyzing the array when the solution is
build. This is done using the 2 events,

BuildEvents.OnBuildDone
BuildEvents.OnBuildProjConfigDone
 
Back
Top