New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency information is not cached for multi-project operations #2619

Closed
emgarten opened this Issue Apr 20, 2016 · 2 comments

Comments

Projects
None yet
4 participants
@emgarten
Contributor

emgarten commented Apr 20, 2016

The gather phase caches all dependency information in ResolutionContext.GatherCache by default to avoid duplicate network calls. PMC and some UI scenarios are creating new contexts/caches and not getting the benefit of this cache.

Steps

  1. Create a project with three default MVC projects
  2. Run update-package

Expected

Gather will be a noop for the 2nd and 3rd projects.

Actual

No gather results are cached.

@emgarten

This comment has been minimized.

Show comment
Hide comment
@emgarten

emgarten Apr 25, 2016

Contributor

Checked into dev with NuGet/NuGet.Client@c26f25e

This still needs to go into 3.4.5

Contributor

emgarten commented Apr 25, 2016

Checked into dev with NuGet/NuGet.Client@c26f25e

This still needs to go into 3.4.5

@emgarten emgarten closed this May 4, 2016

@emgarten

This comment has been minimized.

Show comment
Hide comment
@emgarten

emgarten May 20, 2016

Contributor

Ported to 3.4.5
NuGet/NuGet.Client@e57cdd6

Contributor

emgarten commented May 20, 2016

Ported to 3.4.5
NuGet/NuGet.Client@e57cdd6

@zhili1208 zhili1208 modified the milestones: 3.5 Beta2, 3.4.5 Jun 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment