Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Fixed nuget version casing mismatch #2971

Closed
wants to merge 1 commit into from

Conversation

davidfowl
Copy link
Member

- Always update the nuspec with the resolved version and id on
install.

#2970
"dnx451": { }
},
"dependencies": {
"Contentful.NET": "0.0.5-Alpha"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this test depend on this package being on NuGet?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, like all of our other tests and our source code 😄

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think other tests mostly depend on packages we kind of control, no?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some, some dont

@davidfowl davidfowl closed this Oct 14, 2015
@davidfowl davidfowl deleted the davidfowl/restore-version-normalization branch October 14, 2015 00:02
@@ -77,23 +77,21 @@ internal static class NuGetPackageUtils
// Fixup the casing of the nuspec on disk to match what we expect
var nuspecFile = Directory.EnumerateFiles(targetPath, "*" + NuGet.Constants.ManifestExtension).Single();
if (!string.Equals(nuspecFile, targetNuspec, StringComparison.Ordinal))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you considered doing IgnoreCase check and printing the warning if the names still don't match? (I don't feel very strongly about about that though...)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nah, doesn't matter. If we found it then we should use it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants