VS2005 "BuildDone" events

Hiya,

We've just found something (else) odd in VS2005 Pro RTM.

When a build completes the IDE sources "BuildDone" events as follows:

  HRESULT OnBuildDone(EnvDTE::vsBuildScope eScope, EnvDTE::vsBuildAction eAction)

That's nothing new, but with a C++ project in VS2005 the eAction parameter is coming through as 0 if Rebuild All is selected. Given that it's defined as:


  vsBuildAction
  {
      vsBuildActionBuild = 1,
      vsBuildActionRebuildAll = 2,
      vsBuildActionClean = 3,
      vsBuildActionDeploy = 4
  };

that's somewhat unexpected. Has anyone else noticed this



Kind Regards,

    Anna-Jayne Metcalfe

    Riverblade Limited.
    http://www.riverblade.co.uk




Answer this question

VS2005 "BuildDone" events

  • ravisvasan

    As discussed on the Yahoo! forum, a few people tried but could not reproduce this problem. Could you provide (sent directly to me at craigs@microsoft.com) a small sample Add-in/Macro to reproduce this probem

    Craig



  • VS2005 "BuildDone" events