ResolveNonMSBuildProjectOutput.UnresolvedProjectReferences 属性

定义

项目引用项的列表,其中这些项无法使用输出的预解析列表进行解析。The list of project reference items that could not be resolved using the pre-resolved list of outputs. 因为 VS 仅预解析非 MSBuild 项目,这意味着此列表中的项目引用都采用 MSBuild 格式。Since VS only pre-resolves non-MSBuild projects, this means that project references in this list are in the MSBuild format.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 property cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ UnresolvedProjectReferences { cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ get(); void set(cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ value); };
[Microsoft.Build.Framework.Output]
public Microsoft.Build.Framework.ITaskItem[] UnresolvedProjectReferences { get; set; }
[<Microsoft.Build.Framework.Output>]
member this.UnresolvedProjectReferences : Microsoft.Build.Framework.ITaskItem[] with get, set
Public Property UnresolvedProjectReferences As ITaskItem()

属性值

ITaskItem[]

采用 MSBuild 格式的项目引用项。Project reference items that are in the MSBuild format.

属性

注解

由于 Visual Studio 仅预解析非 MSBuild 项目,因此无法使用预解析输出列表进行解析的项目引用项采用 MSBuild 格式。Since Visual Studio only pre-resolves non-MSBuild projects, the project reference items that could not be resolved using the pre-resolved list of outputs are in the MSBuild format.

适用于