Building corefx\src\System.Collections\System.Collections.sln 解决方案失败

Building corefx\src\System.Collections\System.Collections.sln solution fails

完全同步 corefx 后,我在尝试使用 VS 2015 构建 corefx\src\System.Collections\System.Collections.sln 时收到以下错误。我假设这个应该从干净的同步开始工作。我是唯一一个还是其他人也看到了这个?如果我解决了故障,我会 post 我找到的东西,这样它就会出现在搜索中。

Restoring NuGet packages...
To prevent NuGet from restoring packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages during build.'
Failed to resolve all project references for 'System.Collections'. The package restore result for 'System.Collections' may be incomplete.
Failed to resolve all project references for 'System.Collections.Tests'. The package restore result for 'System.Collections.Tests' may be incomplete.
Failed to resolve all project references for 'System.Collections'. The package restore result for 'System.Collections.Tests' may be incomplete.
xunit.abstractions 2.0.0 is not compatible with DNXCore,Version=v5.0.
Some packages are not compatible with DNXCore,Version=v5.0.
NuGet package restore failed.
1>------ Build started: Project: System.Collections, Configuration: Debug Any CPU ------
1>C:\Users\kingc\Documents\Git\corefx\packages\Microsoft.DotNet.BuildTools.1.0.25-prerelease-00121\lib\sign.targets(39,5): error : C:\Users\kingc\Documents\Git\corefx\bin/obj/Windows_NT.AnyCPU.Debug\System.Collections\System.Collections.dll: PE file is already strong-name signed.
2>------ Build started: Project: System.Collections.Tests, Configuration: Debug Any CPU ------
2>  System.Collections.Tests -> C:\Users\kingc\Documents\Git\corefx\bin\Windows_NT.AnyCPU.Debug\System.Collections.Tests\System.Collections.Tests.dll
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

解决方案文件未引用所有相关项目。只需添加解决方案项目引用的项目即可修复有关无法解析 XXX 的所有项目引用的警告。

带有 coreclr 的测试工具 is not yet compatible 这就是生成它的原因:

xunit.abstractions 2.0.0 is not compatible with DNXCore,Version=v5.0.