Sdílet prostřednictvím


ICustomAssembly.SourcePath Property

Definition

Gets or sets the name and path of the assembly to be included in the package. The path can be either absolute or relative to the package project's root directory.

public:
 property System::String ^ SourcePath { System::String ^ get(); void set(System::String ^ value); };
public string SourcePath { get; set; }
member this.SourcePath : string with get, set
Public Property SourcePath As String

Property Value

A string that represents the path and name of an assembly.

Remarks

Following are examples of relative versus absolute paths:

Relative path: ..\Project\Bin\Debug\SiblingProject.dll.

Absolute path: R:\Folder\Project\Bin\Debug\OtherProject.dll.

For more information, see ASP.NET Web Site Paths.

Applies to