-
Notifications
You must be signed in to change notification settings - Fork 269
Closed
Labels
Milestone
Description
- Unzip NuGetIssue1468 from this folder to c:\temp\repro
- cd /d c:\temp\repro\project
- c:\temp\repro\pkgsrc\nuget3.exe restore project.json -Source c:\temp\repro\pkgsrc
Output:
Restoring packages for C:\Temp\repro\project\project.json...
All packages are compatible with .NETFramework,Version=v4.6.
All packages are compatible with .NETFramework,Version=v4.6 (win-anycpu).
All packages are compatible with .NETFramework,Version=v4.6.
All packages are compatible with UAP,Version=v10.0.
All packages are compatible with DNXCore,Version=v5.0.
All packages are compatible with .NETFramework,Version=v4.6 (win-x86).
All packages are compatible with .NETFramework,Version=v4.6 (win-x64).
All packages are compatible with UAP,Version=v10.0 (win10-x86).
All packages are compatible with UAP,Version=v10.0 (win10-x86-aot).
All packages are compatible with UAP,Version=v10.0 (win10-x64).
All packages are compatible with UAP,Version=v10.0 (win10-x64-aot).
All packages are compatible with UAP,Version=v10.0 (win10-arm).
All packages are compatible with UAP,Version=v10.0 (win10-arm-aot).
All packages are compatible with DNXCore,Version=v5.0 (win7-x86).
All packages are compatible with DNXCore,Version=v5.0 (win7-x64).
Sequence contains more than one matching element
When I attach a debugger to the process, this is the stack trace of the exception:
!pe
Exception object: 02d16bc4
Exception type: System.InvalidOperationException
Message: Sequence contains more than one matching element
InnerException: <none>
StackTrace (generated):
<none>
StackTraceString: <none>
HResult: 80131509
0:000> k
# ChildEBP RetAddr
00 009ae6ec 73e01975 KERNELBASE!RaiseException+0x48 [d:\th\minkernel\kernelbase\xcpt.c @ 858]
01 009ae788 73e02164 clr!RaiseTheExceptionInternalOnly+0x27c [f:\dd\ndp\clr\src\vm\excep.cpp @ 3113]
*** WARNING: Unable to verify checksum for C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Core\c443a8daf03f55a14ffe24ec583664da\System.Core.ni.dll
02 009ae850 701386a4 clr!IL_Throw+0x138 [f:\dd\ndp\clr\src\vm\jithelpers.cpp @ 5047]
03 009ae888 058043f2 System_Core_ni!System.Linq.Enumerable.Single[[System.__Canon, mscorlib]](System.Collections.Generic.IEnumerable`1<System.__Canon>, System.Func`2<System.__Canon,Boolean>)+0x27b674 [f:\dd\ndp\fx\src\Core\System\Linq\Enumerable.cs @ 1054]
*** ERROR: Module load completed but symbols could not be loaded for nuget.exe
04 009ae92c 0531d368 nuget!NuGet.Commands.RestoreCommand.RestoreMSBuildFiles(NuGet.ProjectModel.PackageSpec, System.Collections.Generic.IEnumerable`1<NuGet.Commands.RestoreTargetGraph>, NuGet.Repositories.NuGetv3LocalRepository, NuGet.DependencyResolver.RemoteWalkContext)+0x142
05 009ae9bc 7356fa0f nuget!NuGet.Commands.RestoreCommand+<ExecuteAsync>d__7.MoveNext()+0xa58
*** WARNING: Unable to verify checksum for C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\739821138ef3780d29566f16c4ec3836\mscorlib.ni.dll
06 009aea10 0531c807 mscorlib_ni!System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, mscorlib]].Start[[System.Threading.SemaphoreSlim+<WaitUntilCountOrTimeoutAsync>d__1, mscorlib]](<WaitUntilCountOrTimeoutAsync>d__1 ByRef)+0xfffc61db [f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\AsyncMethodBuilder.cs @ 459]
07 009aea40 0531c746 nuget!NuGet.Commands.RestoreCommand.ExecuteAsync(System.Threading.CancellationToken)+0xa7
08 009aeb28 04f2bed2 nuget!NuGet.Commands.RestoreCommand.ExecuteAsync()+0x16
09 009aeb28 04f2b89b nuget!NuGet.CommandLine.RestoreCommand+<PerformNuGetV3RestoreAsync>d__20.MoveNext()+0x5aa
0a 009aeb7c 04f2b833 mscorlib_ni!System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, mscorlib]].Start[[System.Threading.SemaphoreSlim+<WaitUntilCountOrTimeoutAsync>d__1, mscorlib]](<WaitUntilCountOrTimeoutAsync>d__1 ByRef)+0x91982067 [f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\AsyncMethodBuilder.cs @ 459]
0b 009aebc4 04f2a7cb nuget!NuGet.CommandLine.RestoreCommand.PerformNuGetV3RestoreAsync(System.String, System.String)+0x73
0c 009aec30 04f29f5b nuget!NuGet.CommandLine.RestoreCommand+<ExecuteCommandAsync>d__18.MoveNext()+0x3c3
0d 009aec84 04f29ef2 mscorlib_ni!System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[System.__Canon, mscorlib]](System.__Canon ByRef)+0x919bac5b [f:\dd\ndp\clr\src\BCL\system\runtime\compilerservices\AsyncMethodBuilder.cs @ 304]
0e 009aecec 04f25dac nuget!NuGet.CommandLine.RestoreCommand.ExecuteCommandAsync()+0x6a
0f 009aed00 029b1842 nuget!NuGet.CommandLine.Command.Execute()+0x11c
10 009aed4c 029b0462 nuget!NuGet.CommandLine.Program.MainCore(System.String, System.String[])+0x30a
11 009aed58 73c71366 nuget!NuGet.CommandLine.Program.Main(System.String[])+0x1a
12 009aed64 73c7352f clr!CallDescrWorkerInternal+0x34 [f:\dd\ndp\clr\src\vm\i386\asmhelpers.asm @ 765]
13 009aedb8 73c7d216 clr!CallDescrWorkerWithHandler+0x6b [f:\dd\ndp\clr\src\vm\callhelpers.cpp @ 91]
14 009aee28 73cead07 clr!MethodDescCallSite::CallTargetWorker+0x158 [f:\dd\ndp\clr\src\vm\callhelpers.cpp @ 649]
15 (Inline) -------- clr!MethodDescCallSite::Call_RetArgSlot+0xf [f:\dd\ndp\clr\src\vm\callhelpers.h @ 423]
16 009aef4c 73cce577 clr!RunMain+0x193 [f:\dd\ndp\clr\src\vm\assembly.cpp @ 2598]
17 009af1c0 73cceb9f clr!Assembly::ExecuteMainMethod+0x124 [f:\dd\ndp\clr\src\vm\assembly.cpp @ 2719]
18 009af6c8 73ccec45 clr!SystemDomain::ExecuteMainMethod+0x651 [f:\dd\ndp\clr\src\vm\appdomain.cpp @ 3739]
19 009af720 73cce446 clr!ExecuteEXE+0x4c [f:\dd\ndp\clr\src\vm\ceemain.cpp @ 3018]
1a 009af760 73ce9a83 clr!_CorExeMainInternal+0xdc [f:\dd\ndp\clr\src\vm\ceemain.cpp @ 2850]
1b 009af79c 7433cd87 clr!_CorExeMain+0x4d [f:\dd\ndp\clr\src\vm\ceemain.cpp @ 2782]
1c 009af7d8 7447dd05 mscoreei!_CorExeMain+0x10a [f:\dd\ndp\clr\src\dlls\shim\shim.cpp @ 6420]
1d (Inline) -------- MSCOREE!ShellShim__CorExeMain+0x94 [d:\th\com\netfx\windowsbuilt\shell_shim\v2api.cpp @ 284]
1e 009af7e8 77113744 MSCOREE!_CorExeMain_Exported+0xa5 [d:\th\com\netfx\windowsbuilt\shell_shim\v2api.cpp @ 1222]
1f 009af7fc 7748a064 KERNEL32!BaseThreadInitThunk+0x24 [d:\th\base\win32\client\thread.c @ 64]
20 009af844 7748a02f ntdll!__RtlUserThreadStart+0x2f [d:\th\minkernel\ntdll\rtlstrt.c @ 997]
21 009af854 00000000 ntdll!_RtlUserThreadStart+0x1b [d:\th\minkernel\ntdll\rtlstrt.c @ 914]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.