Compartir a través de


ISharePointProjectOutputReference Interface

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

Represents the primary output of a referenced Visual Studio project.

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

Syntax

'Declaration
Public Interface ISharePointProjectOutputReference _
    Inherits IDeployableFile, INotifyObjectDisposing, INotifyObjectDisposed, INotifyPropertyChanged
public interface ISharePointProjectOutputReference : IDeployableFile, 
    INotifyObjectDisposing, INotifyObjectDisposed, INotifyPropertyChanged

The ISharePointProjectOutputReference type exposes the following members.

Properties

  Name Description
Public property DeploymentPath Gets or sets the path of the file as it will be deployed in SharePoint relative to the base path represented by DeploymentRoot. (Inherited from IDeployableFile.)
Public property DeploymentRoot Gets the base path where SharePoint will store the file. (Inherited from IDeployableFile.)
Public property DeploymentType Gets the type of deployment to be performed to a file. (Inherited from IDeployableFile.)
Public property DeploymentUrl Gets the absolute SharePoint url where this file is going to be deployed. (Inherited from IDeployableFile.)
Public property IsDisposed Gets whether the an object is disposed. (Inherited from INotifyObjectDisposed.)
Public property IsDisposing Gets whether an object is disposing. (Inherited from INotifyObjectDisposing.)
Public property OutputFullPath Gets the full path to the output of the project.
Public property ProjectFullPath Gets the path to the referenced project.
Public property ProjectId Gets the ID of the referenced project.
Public property ProjectItem Gets the reference to the project item that contains this project output reference.

Top

Events

  Name Description
Public event DeploymentPathChanged Occurs when DeploymentPath is changed. (Inherited from IDeployableFile.)
Public event DeploymentTypeChanged Occurs when DeploymentType is changed. (Inherited from IDeployableFile.)
Public event Disposed Occurs when an object is disposed. (Inherited from INotifyObjectDisposed.)
Public event Disposing Occurs when an object is being disposed. (Inherited from INotifyObjectDisposing.)
Public event PropertyChanged Occurs when a property value changes. (Inherited from INotifyPropertyChanged.)

Top

Remarks

Typically, the output of a project is a compiled assembly file such as a DLL, but the project output depends on the project type. For example, with Silverlight application projects, the value of the property is the Silverlight DLL, but the .XAP file is the actual file that is packaged. So, in this case, this property returns the path of the .XAP file, not the DLL.

See Also

Reference

Microsoft.VisualStudio.SharePoint Namespace