Export (0) Print
Expand All
Expand Minimize

BuildTiming Property

Visual Studio .NET 2003

Specifies whether the Output window will display times for all tools in the build.

[Visual Basic .NET]
Public Property BuildTiming() As Boolean
[Visual Basic 6]
Property Get BuildTiming() As Boolean
Property Let BuildTiming( _
   ByVal NewValue As Boolean _
HRESULT __stdcall get_BuildTiming(
   /* [out, retval] */ VARIANT_BOOL* retVal
HRESULT __stdcall put_BuildTiming(
   /* [in] */ VARIANT_BOOL NewValue
public bool BuildTiming {get; set;}
[JScript .NET]
public function get BuildTiming() : Boolean
public function set BuildTiming(
   NewValue : Boolean


The BuildTiming property is off by default.

This property exposes functionality available from the VC++ Build property page.


The following sample code modifies the BuildTiming property in the development environment:

' add reference to Microsoft.VisualStudio.VCProjectEngine
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine

Public Module Module1
    Sub Test()
        Dim prj As VCProject
        Dim cfgs As IVCCollection
        Dim cfg As VCConfiguration
        Dim ProjEng As VCProjectEngine
        prj = DTE.Solution.Projects.Item(1).Object
        cfgs = prj.Configurations
        ProjEng = cfgs.VCProjectEngine
        ProjEng.BuildTiming = True
    End Sub
End Module

See Samples for Project Model Extensibility for information on how to compile and run this sample.

See Also

Applies To: VCProjectEngine Object

© 2014 Microsoft