Share via


ConnectedServiceHandlerHelper.AddAssemblyReference(String) Method

Definition

Adds a reference to the specified assembly to the project.

public:
 abstract void AddAssemblyReference(System::String ^ assemblyPath);
public:
 abstract void AddAssemblyReference(Platform::String ^ assemblyPath);
 abstract void AddAssemblyReference(std::wstring const & assemblyPath);
public abstract void AddAssemblyReference (string assemblyPath);
abstract member AddAssemblyReference : string -> unit
Public MustOverride Sub AddAssemblyReference (assemblyPath As String)

Parameters

assemblyPath
String

The assembly to which to add a reference. This can be specified either as a simple .NET Framework object name, such as "System.Web", or as a .NET Framework file name, such as "C:\path\program.dll".

Exceptions

Thrown when the assembly reference is not successfully added to the project.

Applies to