BuildProjectReferencesContext 构造函数

定义

初始化 BuildProjectReferencesContext 类的新实例。

public:
 BuildProjectReferencesContext(bool isBuildOptedOut, System::Collections::Generic::IReadOnlyCollection<System::String ^> ^ projectReferences);
public BuildProjectReferencesContext (bool isBuildOptedOut, System.Collections.Generic.IReadOnlyCollection<string> projectReferences);
new Microsoft.VisualStudio.Workspace.Build.BuildProjectReferencesContext : bool * System.Collections.Generic.IReadOnlyCollection<string> -> Microsoft.VisualStudio.Workspace.Build.BuildProjectReferencesContext
Public Sub New (isBuildOptedOut As Boolean, projectReferences As IReadOnlyCollection(Of String))

参数

isBuildOptedOut
Boolean

如果项目选择不在生成中

projectReferences
IReadOnlyCollection<String>

项目引用列表

适用于