Udostępnij za pośrednictwem


IVsSharedProjectReference Interface

Definition

Represents a SharedProjectReference item (normally a child of the References folder in the Solution Explorer). SharedProjectReference items represent imported shared MSBuild project files (e.g. *.projitems file). Normally these shared MSBuild project files are "owned" by a particular Shared Project (aka Shared Assets Project) loaded in the Solution.

public interface class IVsSharedProjectReference : Microsoft::VisualStudio::Shell::Interop::IVsReference
public interface class IVsSharedProjectReference : Microsoft::VisualStudio::Shell::Interop::IVsReference
__interface IVsSharedProjectReference : Microsoft::VisualStudio::Shell::Interop::IVsReference
[System.Runtime.InteropServices.Guid("DD928D98-26E0-4255-A3CE-3BA866296F8B")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FOleAutomation)]
public interface IVsSharedProjectReference : Microsoft.VisualStudio.Shell.Interop.IVsReference
[System.Runtime.InteropServices.Guid("DD928D98-26E0-4255-A3CE-3BA866296F8B")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSharedProjectReference : Microsoft.VisualStudio.Shell.Interop.IVsReference
[<System.Runtime.InteropServices.Guid("DD928D98-26E0-4255-A3CE-3BA866296F8B")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FOleAutomation)>]
type IVsSharedProjectReference = interface
    interface IVsReference
[<System.Runtime.InteropServices.Guid("DD928D98-26E0-4255-A3CE-3BA866296F8B")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsSharedProjectReference = interface
    interface IVsReference
Public Interface IVsSharedProjectReference
Implements IVsReference
Attributes
Implements

Properties

AlreadyReferenced

Determines whether the project was already referenced.

FullPath

Gets or sets the full path of Shared Project's project file (e.g. *.shproj file).

Name

Gets or sets the name/caption of the Shared Project (owner project for the imported shared MSBuild file).

SharedMSBuildFileFullPath

Gets or sets the full path of the imported shared MSBuild file (e.g. *.projitems file).

SharedProjectID

Gets or sets ProjectID Guid for the Shared Project. IVsSolution.GetGuidOfProject should be used to retrieve the IVsHierarchy for the Shared Project.

Applies to