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)

public interface IVsProjectCfg2 : IVsProjectCfg

The IVsProjectCfg2 type exposes the following members.

Public methodEnumOutputsObsolete method. Do not use.
Public methodget_BuildableProjectCfgProvides access to a configuration's IVsBuildableProjectCfg interface to use to manage the build process.
Public methodget_CanonicalNameReturns a configuration's canonical name.
Public methodget_CfgTypeProvides access to a configuration interface such as IVsBuildableProjectCfg or IVsDebuggableProjectCfg.
Public methodget_DisplayNameReturns a string that describes the configuration and can be displayed in the environment's UI.
Public methodget_IsDebugOnlyObsolete method. Do not use.
Public methodget_IsPackagedObsolete method. Do not use.
Public methodget_IsPrivateReturns whether or not a configuration is private or shared.
Public methodget_IsReleaseOnlyObsolete method. Do not use.
Public methodget_IsSpecifyingOutputSupportedObsolete method. Do not use.
Public methodget_OutputGroupsReturns an array of IVsOutputGroup pointers for the output groups of a configuration.
Public methodget_PlatformObsolete method. Do not use.
Public methodget_ProjectCfgProviderObsolete method. Do not use.
Public methodget_RootURLReturns a configuration's root URL for its output items.
Public methodget_TargetCodePageObsolete method. Do not use.
Public methodget_UpdateSequenceNumberObsolete method. Do not use.
Public methodget_VirtualRootThis method is required for debugging Web projects.
Public methodOpenOutputObsolete method. Do not use.
Public methodOpenOutputGroupReturns a specific output group.
Public methodOutputsRequireAppRootThis method replaces the get_IsWebApplication method from the now-obsolete IVsDeployWebProject interface.

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.

Community Additions