Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Install package may overlap with auto-restore #3836
Follow up on NuGet/NuGet.Client#986.
Details about Problem
Install package runs restore/preview operation. This may overlap with auto-restore running in background. Potentially this may introduce dangerous race conditions as in current implementation there's no mutual blocking for these operations.
Consider chaining install/uninstall package operations with auto-restore using the same mechanism employed by on-build/explicit restore.