Skip to content

Cannot upload developmentDependency packages to NuGet.org #1867

Closed
benquarmby opened this Issue Feb 1, 2014 · 4 comments

3 participants

@benquarmby

Just upgraded JSLintNet.MSBuild to NuGet 2.8 and marked it as a development only dependency using the new <developmentDependency> flag (see https://nuget.codeplex.com/workitem/3639).

Unfortunately I cannot upload it to NuGet.org. I assume this is because it's still using the NuGet 2.7 nuspec parser, which doesn't recognize the new <developmentDependency> element.

It's throwing the following error after attempting to upload:
Failed to read the package file.

P.S. JSLint.NET for MSBuild is a code quality tool not a library dependency, so the "development only" flag is important.

Edit: Attached screen from NuGet Package Explorer 3.8.1 to show that the package is actually valid.
developmentdependency

@adamralph

Oh dear!

@anurse
NuGet member
anurse commented Feb 1, 2014

Sorry about that! We'll try to get a fix for this out ASAP.

@anurse anurse closed this in #1870 Feb 4, 2014
@benquarmby

Thank you. Any idea when this change will be live?

@anurse
NuGet member
anurse commented Feb 4, 2014

Should be live later this week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.