Freigeben über


ProjectTaskElement.MSBuildRuntimeLocation Property

Location of the "MSBuildRuntime" attribute on this element, if any.

If there is no such attribute, returns null;

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Construction
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Public ReadOnly Property MSBuildRuntimeLocation As ElementLocation
public ElementLocation MSBuildRuntimeLocation { get; }
public:
property ElementLocation^ MSBuildRuntimeLocation {
    ElementLocation^ get ();
}
member MSBuildRuntimeLocation : ElementLocation with get
function get MSBuildRuntimeLocation () : ElementLocation

Property Value

Type: Microsoft.Build.Construction.ElementLocation
Returns ElementLocation.

.NET Framework Security

See Also

Reference

ProjectTaskElement Class

Microsoft.Build.Construction Namespace