Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Project.AddNewUsingTaskFromAssemblyName Method

Adds a new UsingTask element with the specified assembly name.

Namespace:  Microsoft.Build.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

public void AddNewUsingTaskFromAssemblyName(
	string taskName,
	string assemblyName
)

Parameters

taskName
Type: System.String

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

assemblyName
Type: System.String

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft