Share via


ICustomAssembly.SourcePath Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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.

Namespace:  Microsoft.VisualStudio.SharePoint.Packages
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Property SourcePath As String
string SourcePath { get; set; }

Property Value

Type: System.String
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.

.NET Framework Security

See Also

Reference

ICustomAssembly Interface

Microsoft.VisualStudio.SharePoint.Packages Namespace