.NET Framework Class Library
MSBuild..::.Execute Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Instructs the MSBuild engine to build one or more project files whose locations are specified by the Projects property.

Namespace:  Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.v3.5 (in Microsoft.Build.Tasks.v3.5.dll)
Syntax

Visual Basic (Declaration)
Public Overrides Function Execute As Boolean
Visual Basic (Usage)
Dim instance As MSBuild
Dim returnValue As Boolean

returnValue = instance.Execute()
C#
public override bool Execute()
Visual C++
public:
virtual bool Execute() override
JScript
public override function Execute() : boolean

Return Value

Type: System..::.Boolean
true if all projects build successfully; otherwise, false.

Implements

ITask..::.Execute()()()
.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0
See Also

Reference

Tags :


Page view tracker