Skip to content

Full support for aliasing in restore

c72557a
Select commit
Loading
Failed to load commit list.
Closed

Basic support for aliasing in restore #6776

Full support for aliasing in restore
c72557a
Select commit
Loading
Failed to load commit list.
Azure Pipelines / NuGet.Client CI failed Oct 4, 2025 in 47m 30s

Build #20251003.12 had test failures

Details

Tests

  • Failed: 108 (0.18%)
  • Passed: 60,428 (98.14%)
  • Other: 1,039 (1.69%)
  • Total: 61,575

Annotations

Check failure on line 15 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / NuGet.Client CI

Build log #L15

Cmd.exe exited with code '128'.

Check failure on line 15 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / NuGet.Client CI

Build log #L15

Cmd.exe exited with code '128'.

Check failure on line 15 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / NuGet.Client CI

Build log #L15

Cmd.exe exited with code '128'.

Check failure on line 2349 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / NuGet.Client CI

Build log #L2349

Error: The process 'D:\a\_work\1\s\cli\dotnet.exe' failed with exit code 1

Check failure on line 1 in Msbuild.Integration.Test.MsbuildRestoreTaskTests.MsbuildRestore_WithRelativeSource_ResolvesAgainstCurrentWorkingDirectory(isStaticGraphRestore: True, usePackageSpecFactory: True)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / NuGet.Client CI

Msbuild.Integration.Test.MsbuildRestoreTaskTests.MsbuildRestore_WithRelativeSource_ResolvesAgainstCurrentWorkingDirectory(isStaticGraphRestore: True, usePackageSpecFactory: True)

Expected result.Success to be True because MSBuild version 17.14.18+a338add32 for .NET Framework
Build started 10/4/2025 12:18:36 AM.


Project "D:\a\_work\1\s\.test\work\967f616e\35e08997\solution\a\a.csproj" on node 1 (Restore target(s)).
Restore:
  Determining projects to restore...
  Evaluated 1 project(s) in 2391ms (1 builds, 0 failures).
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error : The given key was not present in the dictionary. [D:\a\_work\1\s\.test\work\967f616e\35e08997\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at System.Collections.Concurrent.ConcurrentDictionary`2.get_Item(TKey key) [D:\a\_work\1\s\.test\work\967f616e\35e08997\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at NuGet.Commands.Restore.Utility.PackageSpecFactory.GetProjectRestoreMetadataFrameworkInfos(List`1 targetFrameworkInfos, IReadOnlyDictionary`2 projects) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Commands\RestoreCommand\Utility\PackageSpecFactory.cs:line 545 [D:\a\_work\1\s\.test\work\967f616e\35e08997\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at NuGet.Commands.Restore.Utility.PackageSpecFactory.GetProjectRestoreMetadataAndTargetFrameworkInformation(IProject project, ISettings settings) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Commands\RestoreCommand\Utility\PackageSpecFactory.cs:line 162 [D:\a\_work\1\s\.test\work\967f616e\35e08997\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at NuGet.Commands.Restore.Utility.PackageSpecFactory.GetPackageSpec(IProject project, ISettings settings) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Commands\RestoreCommand\Utility\PackageSpecFactory.cs:line 42 [D:\a\_work\1\s\.test\work\967f616e\35e08997\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at NuGet.Build.Tasks.Console.MSBuildStaticGraphRestore.<GetDependencyGraphSpec>b__36_3(RestoreProjectAdapter project) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Build.Tasks.Console\MSBuildStaticGraphRestore.cs:line 803 [D:\a\_work\1\s\.test\work\967f616e\35e08997\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at NuGet.Build.Tasks.Console.MSBuildStaticGraphRestore.<>c__DisplayClass37_1`1.<GetDependencyGraphSpec>b__0(KeyValuePair`2 project) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Build.Tasks.Console\MSBuildStaticGraphRestore.cs:line 868 [D:\a\_work\1\s\.test\work\967f616e\35e08997\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at System.Threading.Tasks.Parallel.<>c__DisplayClass42_0`2.<PartitionerForEachWorker>b__1() [D:\a\_work\1\s\.test\work\967f616e\35e08997\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) [D:\a\_work\1\s\.test\work\967f616e\35e08997\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>) [D:\a\_work\1\s\.test\work\967f616e\35e08997\solution\a\a.csproj]
Done Building Project "D:\a\_work\1\s\.test\work\967f616e\35e08997\solution\a\a.csproj" (Restore target(s)) -- FAILED.

Build FAILED.

"D:\a\_work\1\s\.test\work\967f616e\35e08997\solution\a\a
Raw output
   at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
   at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
   at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
   at Msbuild.Integration.Test.MsbuildRestoreTaskTests.<MsbuildRestore_WithRelativeSource_ResolvesAgainstCurrentWorkingDirectory>d__13.MoveNext() in D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\MsbuildRestoreTaskTests.cs:line 732
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Check failure on line 1 in Msbuild.Integration.Test.MsbuildRestoreTaskTests.MsbuildRestore_WithRestoreUseLegacyDependencyResolver_RunsLegacyAlgorithm(isStaticGraphRestore: True)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / NuGet.Client CI

Msbuild.Integration.Test.MsbuildRestoreTaskTests.MsbuildRestore_WithRestoreUseLegacyDependencyResolver_RunsLegacyAlgorithm(isStaticGraphRestore: True)

Expected result.Success to be True because MSBuild version 17.14.18+a338add32 for .NET Framework
Build started 10/4/2025 12:21:08 AM.


Project "D:\a\_work\1\s\.test\work\468dd783\a1654899\solution\a\a.csproj" on node 1 (Restore target(s)).
Restore:
  Determining projects to restore...
  Evaluated 1 project(s) in 1465ms (1 builds, 0 failures).
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error : The given key was not present in the dictionary. [D:\a\_work\1\s\.test\work\468dd783\a1654899\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at System.Collections.Concurrent.ConcurrentDictionary`2.get_Item(TKey key) [D:\a\_work\1\s\.test\work\468dd783\a1654899\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at NuGet.Commands.Restore.Utility.PackageSpecFactory.GetProjectRestoreMetadataFrameworkInfos(List`1 targetFrameworkInfos, IReadOnlyDictionary`2 projects) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Commands\RestoreCommand\Utility\PackageSpecFactory.cs:line 545 [D:\a\_work\1\s\.test\work\468dd783\a1654899\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at NuGet.Commands.Restore.Utility.PackageSpecFactory.GetProjectRestoreMetadataAndTargetFrameworkInformation(IProject project, ISettings settings) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Commands\RestoreCommand\Utility\PackageSpecFactory.cs:line 162 [D:\a\_work\1\s\.test\work\468dd783\a1654899\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at NuGet.Commands.Restore.Utility.PackageSpecFactory.GetPackageSpec(IProject project, ISettings settings) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Commands\RestoreCommand\Utility\PackageSpecFactory.cs:line 42 [D:\a\_work\1\s\.test\work\468dd783\a1654899\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at NuGet.Build.Tasks.Console.MSBuildStaticGraphRestore.<GetDependencyGraphSpec>b__36_3(RestoreProjectAdapter project) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Build.Tasks.Console\MSBuildStaticGraphRestore.cs:line 803 [D:\a\_work\1\s\.test\work\468dd783\a1654899\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at NuGet.Build.Tasks.Console.MSBuildStaticGraphRestore.<>c__DisplayClass37_1`1.<GetDependencyGraphSpec>b__0(KeyValuePair`2 project) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Build.Tasks.Console\MSBuildStaticGraphRestore.cs:line 868 [D:\a\_work\1\s\.test\work\468dd783\a1654899\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at System.Threading.Tasks.Parallel.<>c__DisplayClass42_0`2.<PartitionerForEachWorker>b__1() [D:\a\_work\1\s\.test\work\468dd783\a1654899\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) [D:\a\_work\1\s\.test\work\468dd783\a1654899\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>) [D:\a\_work\1\s\.test\work\468dd783\a1654899\solution\a\a.csproj]
Done Building Project "D:\a\_work\1\s\.test\work\468dd783\a1654899\solution\a\a.csproj" (Restore target(s)) -- FAILED.

Build FAILED.

"D:\a\_work\1\s\.test\work\468dd783\a1654899\solution\a\a
Raw output
   at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
   at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
   at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
   at Msbuild.Integration.Test.MsbuildRestoreTaskTests.<MsbuildRestore_WithRestoreUseLegacyDependencyResolver_RunsLegacyAlgorithm>d__35.MoveNext() in D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\MsbuildRestoreTaskTests.cs:line 1902
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Check failure on line 1 in Msbuild.Integration.Test.MsbuildRestoreTaskTests.MsbuildRestore_WithDuplicatePackagesToPrune_Warns(isStaticGraphRestore: False)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / NuGet.Client CI

Msbuild.Integration.Test.MsbuildRestoreTaskTests.MsbuildRestore_WithDuplicatePackagesToPrune_Warns(isStaticGraphRestore: False)

Expected result.Success to be True because MSBuild version 17.14.18+a338add32 for .NET Framework
Build started 10/4/2025 12:18:53 AM.


Project "D:\a\_work\1\s\.test\work\4ff2203c\2974fe37\solution\a\a.csproj" on node 1 (Restore target(s)).
_GetAllRestoreProjectPathItems:
  Determining projects to restore...
Project "D:\a\_work\1\s\.test\work\4ff2203c\2974fe37\solution\a\a.csproj" (1) is building "D:\a\_work\1\s\.test\work\4ff2203c\2974fe37\solution\a\a.csproj" (1:6) on node 1 (_GenerateProjectRestoreGraph target(s)).
D:\a\_work\1\s\.test\work\4ff2203c\2974fe37\solution\a\a.csproj : warning NU1509: Duplicate 'PrunePackageReference' items found. Remove the duplicate items or use the Update functionality to ensure a consistent restore behavior. The duplicate 'PrunePackageReference' items are: y 2.0.0, Y 1.0.0.
Done Building Project "D:\a\_work\1\s\.test\work\4ff2203c\2974fe37\solution\a\a.csproj" (_GenerateProjectRestoreGraph target(s)).
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.targets(196,5): error : The given key was not present in the dictionary. [D:\a\_work\1\s\.test\work\4ff2203c\2974fe37\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.targets(196,5): error : System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. [D:\a\_work\1\s\.test\work\4ff2203c\2974fe37\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.targets(196,5): error :    at System.Collections.Generic.Dictionary`2.get_Item(TKey key) [D:\a\_work\1\s\.test\work\4ff2203c\2974fe37\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.targets(196,5): error :    at NuGet.Commands.MSBuildRestoreUtility.AddPrunePackageReferences(PackageSpec spec, IEnumerable`1 items) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Commands\RestoreCommand\Utility\MSBuildRestoreUtility.cs:line 768 [D:\a\_work\1\s\.test\work\4ff2203c\2974fe37\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.targets(196,5): error :    at NuGet.Commands.MSBuildRestoreUtility.GetPackageSpec(IEnumerable`1 items) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Commands\RestoreCommand\Utility\MSBuildRestoreUtility.cs:line 237 [D:\a\_work\1\s\.test\work\4ff2203c\2974fe37\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.targets(196,5): error :    at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() [D:\a\_work\1\s\.test\work\4ff2203c\2974fe37\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.targets(196,5): error :    at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() [D:\a\_work\1\s\.test\work\4ff2203c\2974fe37\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.targets(196,5): error :    at NuGet.Commands.MSBuildRestoreUtility.GetDependencySpec(IEnumerable`1 items, Boolean readOnly) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Commands\RestoreCommand\Utility\MSBuildRestoreUtility.cs:line 89 [D:\a\_work\1\s\.test\work\4ff2203c\2974fe37\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.targets(196,5): error :    at NuGet.Build.Tasks.RestoreTask.<ExecuteAsync>d__70.MoveNext() in D:\a\_work\1\s\src\NuGet.Core\NuGet.Build.Tasks\RestoreTask.cs:line 174 [D:\a\_work\1\s\.test\work\4ff2203c\2974fe37\solution\a\a.csproj]
Done Building Project "D:\a\_work\1\s\.test\work\4ff2203c\2974fe37\solution\a\a.csproj" (Restore target(s)) -- FAILED.

Build FAILED.

"D:\a\_work\1\s\.test\work\4ff2203c\2974fe37\solution\a\a.csproj" (Restore target) (1) ->
"D:\a\_work\1\s\.test\work\4ff2203c\2974fe37\solution\a\a.csproj" (_GenerateProjectRestoreGraph t
Raw output
   at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
   at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
   at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
   at Msbuild.Integration.Test.MsbuildRestoreTaskTests.<MsbuildRestore_WithDuplicatePackagesToPrune_Warns>d__38.MoveNext() in D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\MsbuildRestoreTaskTests.cs:line 2050
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Check failure on line 1 in Msbuild.Integration.Test.MsbuildRestoreTaskTests.MsbuildRestore_WithProjectJsonProject_Skips(useStaticGraphRestore: True, usePackageSpecFactory: False)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / NuGet.Client CI

Msbuild.Integration.Test.MsbuildRestoreTaskTests.MsbuildRestore_WithProjectJsonProject_Skips(useStaticGraphRestore: True, usePackageSpecFactory: False)

Expected result.Success to be True because MSBuild version 17.14.18+a338add32 for .NET Framework
Build started 10/4/2025 12:21:02 AM.


Project "D:\a\_work\1\s\.test\work\cfc3d808\e5369d9b\solution\a\a.csproj" on node 1 (Restore target(s)).
Restore:
  Determining projects to restore...
  Evaluated 1 project(s) in 1413ms (1 builds, 0 failures).
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error : The given key was not present in the dictionary. [D:\a\_work\1\s\.test\work\cfc3d808\e5369d9b\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at System.ThrowHelper.ThrowKeyNotFoundException() [D:\a\_work\1\s\.test\work\cfc3d808\e5369d9b\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at System.Collections.Generic.Dictionary`2.get_Item(TKey key) [D:\a\_work\1\s\.test\work\cfc3d808\e5369d9b\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at NuGet.Build.Tasks.Console.MSBuildStaticGraphRestore.GetProjectRestoreMetadataFrameworkInfos(List`1 targetFrameworkInfos, IReadOnlyDictionary`2 projects) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Build.Tasks.Console\MSBuildStaticGraphRestore.cs:line 493 [D:\a\_work\1\s\.test\work\cfc3d808\e5369d9b\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at NuGet.Build.Tasks.Console.MSBuildStaticGraphRestore.GetProjectRestoreMetadataAndTargetFrameworkInformation(IMSBuildProject project, IReadOnlyDictionary`2 projectsByTargetFramework, ISettings settings) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Build.Tasks.Console\MSBuildStaticGraphRestore.cs:line 1058 [D:\a\_work\1\s\.test\work\cfc3d808\e5369d9b\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at NuGet.Build.Tasks.Console.MSBuildStaticGraphRestore.GetPackageSpec(IMSBuildProject project, IReadOnlyDictionary`2 allInnerNodes) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Build.Tasks.Console\MSBuildStaticGraphRestore.cs:line 953 [D:\a\_work\1\s\.test\work\cfc3d808\e5369d9b\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at NuGet.Build.Tasks.Console.MSBuildStaticGraphRestore.<GetDependencyGraphSpec>b__36_6(ProjectWithInnerNodes project) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Build.Tasks.Console\MSBuildStaticGraphRestore.cs:line 822 [D:\a\_work\1\s\.test\work\cfc3d808\e5369d9b\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at NuGet.Build.Tasks.Console.MSBuildStaticGraphRestore.<>c__DisplayClass37_1`1.<GetDependencyGraphSpec>b__0(KeyValuePair`2 project) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Build.Tasks.Console\MSBuildStaticGraphRestore.cs:line 868 [D:\a\_work\1\s\.test\work\cfc3d808\e5369d9b\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at System.Threading.Tasks.Parallel.<>c__DisplayClass42_0`2.<PartitionerForEachWorker>b__1() [D:\a\_work\1\s\.test\work\cfc3d808\e5369d9b\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask) [D:\a\_work\1\s\.test\work\cfc3d808\e5369d9b\solution\a\a.csproj]
D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\bin\Debug\net472\NuGet.RestoreEx.targets(19,5): error :    at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<Ex
Raw output
   at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
   at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
   at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
   at Msbuild.Integration.Test.MsbuildRestoreTaskTests.<MsbuildRestore_WithProjectJsonProject_Skips>d__41.MoveNext() in D:\a\_work\1\s\test\NuGet.Core.FuncTests\Msbuild.Integration.Test\MsbuildRestoreTaskTests.cs:line 2208
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)