共用方式為


IVsBuildDependency Interface

Definition

Allows a project to describe build dependencies.

public interface class IVsBuildDependency : Microsoft::VisualStudio::Shell::Interop::IVsDependency
public interface class IVsBuildDependency : Microsoft::VisualStudio::Shell::Interop::IVsDependency
__interface IVsBuildDependency : Microsoft::VisualStudio::Shell::Interop::IVsDependency
[System.Runtime.InteropServices.Guid("28D58EEE-EFFC-4B4D-834C-3A746FEAC7AE")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsBuildDependency : Microsoft.VisualStudio.Shell.Interop.IVsDependency
[System.Runtime.InteropServices.Guid("28D58EEE-EFFC-4B4D-834C-3A746FEAC7AE")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsBuildDependency : Microsoft.VisualStudio.Shell.Interop.IVsDependency
[<System.Runtime.InteropServices.Guid("28D58EEE-EFFC-4B4D-834C-3A746FEAC7AE")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsBuildDependency = interface
    interface IVsDependency
[<System.Runtime.InteropServices.Guid("28D58EEE-EFFC-4B4D-834C-3A746FEAC7AE")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsBuildDependency = interface
    interface IVsDependency
Public Interface IVsBuildDependency
Implements IVsDependency
Attributes
Implements

Remarks

The IVsBuildDependency interface is implemented by projects that need to expose an inherent dependency to the SVsSolutionBuildManager service that affects the order in which projects are built. IVsBuildDependency is implemented at the project level. Configuration-specific dependencies are not supported at this time.

Notes to Implementers

Implemented by projects that depend on another project or another build operation in order to be built successfully.

Notes to Callers

Called by the environment when a project with dependencies is to be built.

Methods

get_CanonicalName(String)

Returns the canonical name of a dependency.

get_Description(String)

Returns the description of a dependency.

get_HelpContext(UInt32)

Returns a pointer to the Help context of a dependency.

get_HelpFile(String)

Returns the name of the Help file of a dependency.

get_MustUpdateBefore(Int32)

Determines if an update and/or project build must occur either before or after a project is built.

get_ReferredProject(Object)

Returns a pointer to a dependent project.

get_Type(Guid)

Returns the type of a dependency.

Applies to