Project.AddNewUsingTaskFromAssemblyName(String, String) Method

Definition

Adds a new UsingTask element with the specified assembly name.

public:
 void AddNewUsingTaskFromAssemblyName(System::String ^ taskName, System::String ^ assemblyName);
public void AddNewUsingTaskFromAssemblyName (string taskName, string assemblyName);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public void AddNewUsingTaskFromAssemblyName (string taskName, string assemblyName);
member this.AddNewUsingTaskFromAssemblyName : string * string -> unit
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.AddNewUsingTaskFromAssemblyName : string * string -> unit
Public Sub AddNewUsingTaskFromAssemblyName (taskName As String, assemblyName As String)

Parameters

taskName
String

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

assemblyName
String

The name of the assembly to load. Corresponds to the AssemblyName attribute of the UsingTask element.

Attributes

Applies to