【发布时间】:2016-03-02 06:22:29
【问题描述】:
在corefx 的干净同步之后,我在尝试使用 VS 2015 构建 corefx\src\System.Collections\System.Collections.sln 时收到以下错误。我认为这应该可以通过干净的同步来工作。我是唯一一个还是其他人也看到了这个?如果我解决了失败,我会发布我找到的内容,以便它显示在搜索中。
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 ==========
【问题讨论】: