An error “Package System.ArgumentNullException: Value cannot be null” occurs when restoring package with the context menu: ‘Restore NuGet Packages’ after cleaning solution #13452
Labels
Found:ManualTests
Functionality:Restore
Priority:1
High priority issues that must be resolved in the current sprint.
RegressionDuringThisVersion
A regression which broke since last RTM, and was fixed before the next RTM.
Type:Bug
Milestone
NuGet Product Used
Visual Studio Package Management UI
Product Version
NuGet Client Dev\6.11.0.55
Worked before?
It’s a regression since it doesn’t repro on Main\34915.142 + NuGet Client Dev\6.11.0.50.
Impact
It's more difficult to complete my work
Repro Steps & Context
Repro Steps:
Create a C# Console App (.NET Core) project in VS.
Right-click the solution node in Solution Explorer window and click the context menu: ‘Clean Solution’.
Right-click the solution node in Solution Explorer window and click the context menu: ‘Restore NuGet Packages’.
Expected:
The retore is successful without any error.
Actual:
An error “Package System.ArgumentNullException: Value cannot be null” occurs as below:
Notes:
The repro rate is 100%.
It doesn’t repro on non-SDK project that install package with “packages.config” format.
It doesn’t repro after running ‘dotnet restore’ or ‘msbuild /t:restore’ command in CLI and ‘nuget restore’ in PMC.
Verbose Logs
No response
The text was updated successfully, but these errors were encountered: