DTE2.Mode Property
Visual Studio 2015
Gets the mode of the development environment, either debug or design.
Assembly: EnvDTE80 (in EnvDTE80.dll)
Show:
Gets the mode of the development environment, either debug or design.