Open v-luzh opened 9 months ago
This is a known limitation of https://github.com/NuGet/Home/blob/dev/accepted/archive/VisualStudio-PartialRestoreOptimization.md.
At this point, the perf benefits outweigh the likelihood of this edge case happening (we haven't heard any issues) around this.
We're gonna leave this open to potentially collect upvotes, but we're not likely to change it.
It still reproes on VS Main\35222.175 + NuGet Client Dev\6.12.0.82.
NuGet Product Used
Visual Studio Package Management UI
Product Version
Dev\6.10.0.13
Worked before?
It is not a regression since it reproduced on D16.11\34301.259.
Impact
It bothers me. A fix would be nice
Repro Steps & Context
Repro Steps:
Expected Result:
The lost packages had been restored back to the global packages folder successfully.
Actual Result:
The lost package was not restored back to the global packages folder in step7 and the info “all packages are already installed an there is nothing to restore” in step6.
Notes:
1.Repro rate: 100%. 2.It doesn’t repro for iOS (Xamarin) App/C# UWP project. 3.It doesn’t repro when deleting the whole “packages” folder from the path “C:\Users[username].nuget”.