Freigeben über


IVsProjectCfg2 Interface

Provides support for grouping output based on the configuration, in addition to the methods in the IVsProjectCfg interface.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("A7ADE7A0-F286-4C03-8137-D6D0EF3D6848")> _
Public Interface IVsProjectCfg2 _
    Inherits IVsProjectCfg
[InterfaceTypeAttribute()]
[GuidAttribute("A7ADE7A0-F286-4C03-8137-D6D0EF3D6848")]
public interface IVsProjectCfg2 : IVsProjectCfg
[InterfaceTypeAttribute()]
[GuidAttribute(L"A7ADE7A0-F286-4C03-8137-D6D0EF3D6848")]
public interface class IVsProjectCfg2 : IVsProjectCfg
[<InterfaceTypeAttribute()>]
[<GuidAttribute("A7ADE7A0-F286-4C03-8137-D6D0EF3D6848")>]
type IVsProjectCfg2 =  
    interface 
        interface IVsProjectCfg 
    end
public interface IVsProjectCfg2 extends IVsProjectCfg

The IVsProjectCfg2 type exposes the following members.

Methods

  Name Description
Public method EnumOutputs Obsolete method. Do not use.
Public method get_BuildableProjectCfg Provides access to a configuration's IVsBuildableProjectCfg interface to use to manage the build process.
Public method get_CanonicalName Returns a configuration's canonical name.
Public method get_CfgType Provides access to a configuration interface such as IVsBuildableProjectCfg or IVsDebuggableProjectCfg.
Public method get_DisplayName Returns a string that describes the configuration and can be displayed in the environment's UI.
Public method get_IsDebugOnly Obsolete method. Do not use.
Public method get_IsPackaged Obsolete method. Do not use.
Public method get_IsPrivate Obsolete method. Returns whether or not a configuration is private or shared.
Public method get_IsReleaseOnly Obsolete method. Do not use.
Public method get_IsSpecifyingOutputSupported Obsolete method. Do not use.
Public method get_OutputGroups Returns an array of IVsOutputGroup pointers for the output groups of a configuration.
Public method get_Platform Obsolete method. Do not use.
Public method get_ProjectCfgProvider Obsolete method. Do not use.
Public method get_RootURL Returns a configuration's root URL for its output items.
Public method get_TargetCodePage Obsolete method. Do not use.
Public method get_UpdateSequenceNumber Obsolete method. Do not use.
Public method get_VirtualRoot Obsolete method. This method is required for debugging Web projects.
Public method OpenOutput Obsolete method. Do not use.
Public method OpenOutputGroup Returns a specific output group.
Public method OutputsRequireAppRoot Obsolete method. This method replaces the get_IsWebApplication method from the now-obsolete IVsDeployWebProject interface.

Top

Remarks

The primary use of IVsProjectCfg2, beyond IVsProjectCfg usage, is to allow projects the freedom to group outputs. However, the project must return the same number of groups for each configuration that it supports, even though the number of outputs contained within a group may vary from configuration to configuration. The groups will also have the same identifier information (canonical name, display name, and group information) from configuration to configuration within a project.

Notes to Implementers

Implemented by projects to manage access to configuration information.

Notes to Callers

Called by the environment or another project to access a project's configuration.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace