Skip to content

Canceling project.json restore leaves the packages folder in a bad state #1157

@emgarten

Description

@emgarten

Steps

  1. Create a new UWP project
  2. Save and close the solution
  3. Delete the global .nuget\packages folder
  4. Reopen and build the solution
  5. Click cancel on the progress dialog while packages are downloading
  6. Build again to perform a 2nd restore

Expected:
The second restore should complete successfully

Actual:
The first restore did not leave the packages folder in a good state. Some packages have only a nupkg and the second restore fails.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions