Repository navigation
Use resolved versions for package dependencies - #147
Merged
Merged
Conversation
…ther libraries in the current target
eerhardt
requested changes
Sep 19, 2016
| private void GetPackageAndFileDependencies(LockFileTarget target) | ||
| { | ||
| var resolvedPackageVersions = target.Libraries | ||
| .ToDictionary(pkg => pkg.Name, pkg => pkg.Version.ToString()); |
Member
There was a problem hiding this comment.
You're going to want to use StringComparison.OrdinalIgnoreCase whenever creating a dictionary of NuGet package Ids. They are case-insensitive.
Contributor
Author
There was a problem hiding this comment.
Good catch. Also fixed other collections that store NuGet Ids to use ordinal ignore case
Contributor
Author
|
/cc @dotnet/project-system @rohit21agrawal @rrelyea @joelverhagen |
Contributor
|
Can we also merge this to the Restore3 branch after checking into master? |
…alized version string; remove unused field
Member
We (anyone with write permission) can do a merge of the master branch into the Restore3 branch anytime they want. |
eerhardt
approved these changes
Sep 19, 2016
nguerrera
pushed a commit
that referenced
this pull request
Oct 10, 2016
Use resolved versions for package dependencies
sbomer
pushed a commit
to sbomer/sdk
that referenced
this pull request
Sep 19, 2017
Clarify HandlePackageFileConflicts
mmitche
pushed a commit
to mmitche/sdk
that referenced
this pull request
Jun 5, 2020
Fixing Publishing to IIS Scenarios
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use resolved versions for package dependencies, instead of the MinVersion returned by the package dependency version range.
Fixes #25 and #144