Partilhar via


IVsProjectCfg2 Interface

Definition

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

public interface class IVsProjectCfg2 : Microsoft::VisualStudio::Shell::Interop::IVsProjectCfg
public interface class IVsProjectCfg2 : Microsoft::VisualStudio::Shell::Interop::IVsProjectCfg
__interface IVsProjectCfg2 : Microsoft::VisualStudio::Shell::Interop::IVsProjectCfg
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("A7ADE7A0-F286-4C03-8137-D6D0EF3D6848")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsProjectCfg2 : Microsoft.VisualStudio.Shell.Interop.IVsProjectCfg
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("A7ADE7A0-F286-4C03-8137-D6D0EF3D6848")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsProjectCfg2 : Microsoft.VisualStudio.Shell.Interop.IVsProjectCfg
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("A7ADE7A0-F286-4C03-8137-D6D0EF3D6848")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsProjectCfg2 = interface
    interface IVsProjectCfg
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("A7ADE7A0-F286-4C03-8137-D6D0EF3D6848")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsProjectCfg2 = interface
    interface IVsProjectCfg
    interface IVsCfg
Public Interface IVsProjectCfg2
Implements IVsProjectCfg
Attributes
Implements

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.

Methods

EnumOutputs(IVsEnumOutputs)

Obsolete method. Do not use.

get_BuildableProjectCfg(IVsBuildableProjectCfg)

Provides access to a configuration's IVsBuildableProjectCfg interface to use to manage the build process.

get_CanonicalName(String)

Returns a configuration's canonical name.

get_CfgType(Guid, IntPtr)

Provides access to a configuration interface such as IVsBuildableProjectCfg or IVsDebuggableProjectCfg.

get_DisplayName(String)

Returns a string that describes the configuration and can be displayed in the environment's UI.

get_IsDebugOnly(Int32)

Obsolete method. Do not use.

get_IsPackaged(Int32)

Obsolete method. Do not use.

get_IsPrivate(Int32)

Obsolete method. Returns whether or not a configuration is private or shared.

get_IsReleaseOnly(Int32)

Obsolete method. Do not use.

get_IsSpecifyingOutputSupported(Int32)

Obsolete method. Do not use.

get_OutputGroups(UInt32, IVsOutputGroup[], UInt32[])

Returns an array of IVsOutputGroup pointers for the output groups of a configuration.

get_Platform(Guid)

Obsolete method. Do not use.

get_ProjectCfgProvider(IVsProjectCfgProvider)

Obsolete method. Do not use.

get_RootURL(String)

Returns a configuration's root URL for its output items.

get_TargetCodePage(UInt32)

Obsolete method. Do not use.

get_UpdateSequenceNumber(ULARGE_INTEGER[])

Obsolete method. Do not use.

get_VirtualRoot(String)

Obsolete method. This method is required for debugging Web projects.

OpenOutput(String, IVsOutput)

Obsolete method. Do not use.

OpenOutputGroup(String, IVsOutputGroup)

Returns a specific output group.

OutputsRequireAppRoot(Int32)

Obsolete method. This method replaces the get_IsWebApplication method from the now-obsolete IVsDeployWebProject interface.

Applies to