ConnectedServiceHandlerHelper.AddAssemblyReference(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.