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
'Usage
Dim instance As IVsProjectCfg2
[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

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

IVsProjectCfg2 Members

Microsoft.VisualStudio.Shell.Interop Namespace