Aracılığıyla paylaş


ProvideMSBuildTargetsAttribute Constructor

Obsolete. Do not use.

Initializes a new instance of the ProvideMSBuildTargetsAttribute class to register a targets file to the list of the MSBuild safe imports.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Bildirim
Public Sub New ( _
    targetsLabel As String, _
    targetsPath As String _
)
public ProvideMSBuildTargetsAttribute(
    string targetsLabel,
    string targetsPath
)

Parameters

  • targetsLabel
    Type: System.String
    Label to identify the targets.

Exceptions

Exception Condition
ArgumentNullException

This exception is thrown if targetsLabel or targetsPath are null or empty.

.NET Framework Security

See Also

Reference

ProvideMSBuildTargetsAttribute Class

Microsoft.VisualStudio.Shell Namespace