Compartir a través de


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

'Declaración
<GuidAttribute("A7ADE7A0-F286-4C03-8137-D6D0EF3D6848")> _
<InterfaceTypeAttribute()> _
Public Interface IVsProjectCfg2 _
    Implements IVsProjectCfg
'Uso
Dim instance As IVsProjectCfg2
[GuidAttribute("A7ADE7A0-F286-4C03-8137-D6D0EF3D6848")]
[InterfaceTypeAttribute()]
public interface IVsProjectCfg2 : IVsProjectCfg
[GuidAttribute(L"A7ADE7A0-F286-4C03-8137-D6D0EF3D6848")]
[InterfaceTypeAttribute()]
public interface class IVsProjectCfg2 : IVsProjectCfg
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.

See illustrations of the implementation and/or calling of this interface in the samples Basic Project, My C Package, and Figures 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