BuildEventsClass::OnBuildBegin Event
Visual Studio 2015
This API supports the product infrastructure and is not intended to be used directly from your code.
Occurs before the solution builds, before a batch build begins, or just before a project begins to build.
Assembly: EnvDTE (in EnvDTE.dll)
public: event _dispBuildEvents_OnBuildBeginEventHandler^ OnBuildBegin { virtual void add(_dispBuildEvents_OnBuildBeginEventHandler^ value); virtual void remove(_dispBuildEvents_OnBuildBeginEventHandler^ value); }
Implements
_dispBuildEvents_Event::OnBuildBeginOnBuildBegin occurs when you:
Select either the Build Solution, Rebuild Solution, or Clean Solution command on the Build menu.
Click the Build, Rebuild, or Clean buttons in the Batch Build dialog box.
Select the Build <project> or Rebuild <project> commands on the Build menu, or on the project's context menu.
Invoke a build by using the shortcuts keys, such as CTRL + SHIFT + B.
Show: