C# 클래스 VsTeXProject.VisualStudio.Project.ProjectConfig

상속: IVsCfg, IVsProjectCfg, IVsProjectCfg2, IVsProjectFlavorCfg, IVsDebuggableProjectCfg, ISpecifyPropertyPages, IVsSpecifyProjectDesignerPages, IVsCfgBrowseObject
파일 보기 프로젝트 열기: mimura1133/vstex 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetCfgPropertyPages void
GetMsBuildProperty Microsoft.Build.Execution.ProjectPropertyInstance
GetXmlFragment int
IVsProjectFlavorCfg int
IVsProjectFlavorCfg int
IsFlavorDirty int
SetPropertyUnderCondition void
TrySplitConfigurationCanonicalName bool

공개 메소드들

메소드 설명
DebugLaunch ( uint grfLaunch ) : int

Called by the vs shell to start debugging (managed or unmanaged). Override this method to support other debug engines.

EnumOutputs ( IVsEnumOutputs &eo ) : int
GetCfg ( IVsCfg &cfg ) : int

Maps back to the configuration corresponding to the browse object.

GetConfigurationProperty ( string propertyName, bool resetCache ) : string
GetPages ( CAUUID pages ) : void
GetProjectDesignerPages ( CAUUID pages ) : int

Implementation of the IVsSpecifyProjectDesignerPages. It will retun the pages that are configuration dependent.

GetProjectItem ( IVsHierarchy &hier, uint &itemid ) : int

Maps back to the hierarchy or project item object corresponding to the browse object.

OpenOutput ( string name, IVsOutput &output ) : int
OpenOutputGroup ( string szCanonicalName, IVsOutputGroup &ppIVsOutputGroup ) : int
OutputsRequireAppRoot ( int &pfRequiresAppRoot ) : int
PrepareBuild ( bool clean ) : void
ProjectConfig ( ProjectNode project, string configuration ) : System
QueryDebugLaunch ( uint flags, int &fCanLaunch ) : int

Determines whether the debugger can be launched, given the state of the launch flags.

SetConfigurationProperty ( string propertyName, string propertyValue ) : void
get_BuildableProjectCfg ( IVsBuildableProjectCfg &pb ) : int
get_CanonicalName ( string &name ) : int
get_CfgType ( System.Guid &iidCfg, IntPtr &ppCfg ) : int
get_DisplayName ( string &name ) : int

The display name is a two part item first part is the config name, 2nd part is the platform name

get_IsDebugOnly ( int &fDebug ) : int
get_IsPackaged ( int &pkgd ) : int
get_IsPrivate ( int &pfPrivate ) : int
get_IsReleaseOnly ( int &fRelease ) : int
get_IsSpecifyingOutputSupported ( int &f ) : int
get_OutputGroups ( uint celt, IVsOutputGroup rgpcfg, uint pcActual ) : int
get_Platform ( System.Guid &platform ) : int
get_ProjectCfgProvider ( IVsProjectCfgProvider &p ) : int
get_RootURL ( string &root ) : int
get_TargetCodePage ( uint &target ) : int
get_UpdateSequenceNumber ( ULARGE_INTEGER li ) : int
get_VirtualRoot ( string &pbstrVRoot ) : int

보호된 메소드들

메소드 설명
CreateOutputGroup ( ProjectNode project, string>.KeyValuePair group ) : OutputGroup

비공개 메소드들

메소드 설명
GetCfgPropertyPages ( CAUUID pages ) : void

Retrieves the configuration dependent property pages.

GetMsBuildProperty ( string propertyName, bool resetCache ) : Microsoft.Build.Execution.ProjectPropertyInstance
GetXmlFragment ( System.Guid flavor, _PersistStorageType storageType, string &fragment ) : int

If flavored, ask the flavor if it wants to provide an XML fragment

IVsProjectFlavorCfg ( ) : int

This is called to let the flavored config let go of any reference it may still be holding to the base config

IVsProjectFlavorCfg ( System.Guid &iidCfg, IntPtr &ppCfg ) : int

Actual implementation of get_CfgType. When not flavored or when the flavor delegate to use we end up creating the requested config if we support it.

IsFlavorDirty ( _PersistStorageType storageType ) : int

If flavored, and if the flavor config can be dirty, ask it if it is dirty

SetPropertyUnderCondition ( string propertyName, string propertyValue, string condition ) : void

Emulates the behavior of SetProperty(name, value, condition) on the old MSBuild object model. This finds a property group with the specified condition (or creates one if necessary) then sets the property in there.

TrySplitConfigurationCanonicalName ( string canonicalName, string &configName, string &platformName ) : bool

Splits the canonical configuration name into platform and configuration name.

메소드 상세

CreateOutputGroup() 보호된 메소드

protected CreateOutputGroup ( ProjectNode project, string>.KeyValuePair group ) : OutputGroup
project ProjectNode
group string>.KeyValuePair
리턴 OutputGroup

DebugLaunch() 공개 메소드

Called by the vs shell to start debugging (managed or unmanaged). Override this method to support other debug engines.
public DebugLaunch ( uint grfLaunch ) : int
grfLaunch uint /// A flag that determines the conditions under which to start the debugger. For valid grfLaunch /// values, see __VSDBGLAUNCHFLAGS ///
리턴 int

EnumOutputs() 공개 메소드

public EnumOutputs ( IVsEnumOutputs &eo ) : int
eo IVsEnumOutputs
리턴 int

GetCfg() 공개 메소드

Maps back to the configuration corresponding to the browse object.
public GetCfg ( IVsCfg &cfg ) : int
cfg IVsCfg The IVsCfg object represented by the browse object
리턴 int

GetConfigurationProperty() 공개 메소드

public GetConfigurationProperty ( string propertyName, bool resetCache ) : string
propertyName string
resetCache bool
리턴 string

GetPages() 공개 메소드

public GetPages ( CAUUID pages ) : void
pages CAUUID
리턴 void

GetProjectDesignerPages() 공개 메소드

Implementation of the IVsSpecifyProjectDesignerPages. It will retun the pages that are configuration dependent.
public GetProjectDesignerPages ( CAUUID pages ) : int
pages CAUUID The pages to return.
리턴 int

GetProjectItem() 공개 메소드

Maps back to the hierarchy or project item object corresponding to the browse object.
public GetProjectItem ( IVsHierarchy &hier, uint &itemid ) : int
hier IVsHierarchy Reference to the hierarchy object.
itemid uint Reference to the project item.
리턴 int

OpenOutput() 공개 메소드

public OpenOutput ( string name, IVsOutput &output ) : int
name string
output IVsOutput
리턴 int

OpenOutputGroup() 공개 메소드

public OpenOutputGroup ( string szCanonicalName, IVsOutputGroup &ppIVsOutputGroup ) : int
szCanonicalName string
ppIVsOutputGroup IVsOutputGroup
리턴 int

OutputsRequireAppRoot() 공개 메소드

public OutputsRequireAppRoot ( int &pfRequiresAppRoot ) : int
pfRequiresAppRoot int
리턴 int

PrepareBuild() 공개 메소드

public PrepareBuild ( bool clean ) : void
clean bool
리턴 void

ProjectConfig() 공개 메소드

public ProjectConfig ( ProjectNode project, string configuration ) : System
project ProjectNode
configuration string
리턴 System

QueryDebugLaunch() 공개 메소드

Determines whether the debugger can be launched, given the state of the launch flags.
public QueryDebugLaunch ( uint flags, int &fCanLaunch ) : int
flags uint /// Flags that determine the conditions under which to launch the debugger. /// For valid grfLaunch values, see __VSDBGLAUNCHFLAGS or __VSDBGLAUNCHFLAGS2. ///
fCanLaunch int true if the debugger can be launched, otherwise false
리턴 int

SetConfigurationProperty() 공개 메소드

public SetConfigurationProperty ( string propertyName, string propertyValue ) : void
propertyName string
propertyValue string
리턴 void

get_BuildableProjectCfg() 공개 메소드

public get_BuildableProjectCfg ( IVsBuildableProjectCfg &pb ) : int
pb IVsBuildableProjectCfg
리턴 int

get_CanonicalName() 공개 메소드

public get_CanonicalName ( string &name ) : int
name string
리턴 int

get_CfgType() 공개 메소드

public get_CfgType ( System.Guid &iidCfg, IntPtr &ppCfg ) : int
iidCfg System.Guid
ppCfg System.IntPtr
리턴 int

get_DisplayName() 공개 메소드

The display name is a two part item first part is the config name, 2nd part is the platform name
public get_DisplayName ( string &name ) : int
name string
리턴 int

get_IsDebugOnly() 공개 메소드

public get_IsDebugOnly ( int &fDebug ) : int
fDebug int
리턴 int

get_IsPackaged() 공개 메소드

public get_IsPackaged ( int &pkgd ) : int
pkgd int
리턴 int

get_IsPrivate() 공개 메소드

public get_IsPrivate ( int &pfPrivate ) : int
pfPrivate int
리턴 int

get_IsReleaseOnly() 공개 메소드

public get_IsReleaseOnly ( int &fRelease ) : int
fRelease int
리턴 int

get_IsSpecifyingOutputSupported() 공개 메소드

public get_IsSpecifyingOutputSupported ( int &f ) : int
f int
리턴 int

get_OutputGroups() 공개 메소드

public get_OutputGroups ( uint celt, IVsOutputGroup rgpcfg, uint pcActual ) : int
celt uint
rgpcfg IVsOutputGroup
pcActual uint
리턴 int

get_Platform() 공개 메소드

public get_Platform ( System.Guid &platform ) : int
platform System.Guid
리턴 int

get_ProjectCfgProvider() 공개 메소드

public get_ProjectCfgProvider ( IVsProjectCfgProvider &p ) : int
p IVsProjectCfgProvider
리턴 int

get_RootURL() 공개 메소드

public get_RootURL ( string &root ) : int
root string
리턴 int

get_TargetCodePage() 공개 메소드

public get_TargetCodePage ( uint &target ) : int
target uint
리턴 int

get_UpdateSequenceNumber() 공개 메소드

public get_UpdateSequenceNumber ( ULARGE_INTEGER li ) : int
li ULARGE_INTEGER
리턴 int

get_VirtualRoot() 공개 메소드

public get_VirtualRoot ( string &pbstrVRoot ) : int
pbstrVRoot string
리턴 int