Skip to content
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

Fix snapshot's active target framework bug #4985

Merged

Conversation

drewnoakes
Copy link
Member

New validation on DependenciesSnapshot.ActiveTargetFramework could be hit before this change when changing a project's target framework(s).

This change replaces the previous logic to:

  • prevent ActiveTargetFramework from not being present as one of the targets in the snapshot
  • eagerly populate the snapshot with any additional frameworks as soon as they're discovered rather than letting it happen lazily

New validation on DependenciesSnapshot.ActiveTargetFramework could be
hit before this change when changing a project's target framework(s).

This change replaces the previous logic to:

- prevent ActiveTargetFramework from not being present as one of the targets in the snapshot
- eagerly populate the snapshot with any additional frameworks as soon as they're discovered rather than letting it happen lazily
@drewnoakes drewnoakes requested a review from a team as a code owner July 3, 2019 01:11
@drewnoakes drewnoakes merged commit e3f650f into dotnet:master Jul 3, 2019
@drewnoakes drewnoakes deleted the fix-dep-snapshot-active-framework branch July 3, 2019 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants