Initializes a new instance of a BuildDependency for the given root project and the GUID of the dependent build project.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
<CLSCompliantAttribute(False)> _
Public Sub New ( _
projectMgr As ProjectNode, _
projectReference As Guid _
)
'使用
Dim projectMgr As ProjectNode
Dim projectReference As Guid
Dim instance As New BuildDependency(projectMgr, _
projectReference)
[CLSCompliantAttribute(false)]
public BuildDependency(
ProjectNode projectMgr,
Guid projectReference
)
[CLSCompliantAttribute(false)]
public:
BuildDependency(
ProjectNode^ projectMgr,
Guid projectReference
)
public function BuildDependency(
projectMgr : ProjectNode,
projectReference : Guid
)
Parameters
projectMgr
Type: Microsoft.VisualStudio.Package.ProjectNodeThe root project node in the hierarchy.
projectReference
Type: System.GuidThe GUID of the referenced project.
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.