Adds a build dependency to the project.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Sub AddBuildDependency ( _
dependency As IVsBuildDependency _
)
'使用
Dim instance As ProjectNode
Dim dependency As IVsBuildDependency
instance.AddBuildDependency(dependency)
public virtual void AddBuildDependency(
IVsBuildDependency dependency
)
public:
virtual void AddBuildDependency(
IVsBuildDependency^ dependency
)
public function AddBuildDependency(
dependency : IVsBuildDependency
)
Parameters
dependency
Type: Microsoft.VisualStudio.Shell.Interop.IVsBuildDependencyThe dependency to add.
Implements
IBuildDependencyUpdate.AddBuildDependency(IVsBuildDependency)
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.