ProvideMSBuildTargetsAttribute Constructor (String^, String^)

 

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.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
ProvideMSBuildTargetsAttribute(
	String^ targetsLabel,
	String^ targetsPath
)

Parameters

targetsLabel
Type: System::String^

Label to identify the targets.

targetsPath
Type: System::String^

Full path to the targets file.

Exception Condition
ArgumentNullException

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

Return to top
Show: