Project.AddNewUsingTaskFromAssemblyFile(String, String) Method

Definition

Adds a new UsingTask element with the specified assembly file.

public:
 void AddNewUsingTaskFromAssemblyFile(System::String ^ taskName, System::String ^ assemblyFile);
public void AddNewUsingTaskFromAssemblyFile (string taskName, string assemblyFile);
member this.AddNewUsingTaskFromAssemblyFile : string * string -> unit
Public Sub AddNewUsingTaskFromAssemblyFile (taskName As String, assemblyFile As String)

Parameters

taskName
String

The name of the task to reference from the assembly. Corresponds to the TaskName attribute of the UsingTask element.

assemblyFile
String

The file path to the assembly. Corresponds to the AssemblyFile attribute of the UsingTask element.

Applies to