This repository has been archived by the owner on Dec 18, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 224
Setting the version to 1.0.0.0 makes dnu throw a FileNotFoundException #2390
Comments
NuGet uses SemVer, which has only 3 segments: http://semver.org/ Having said that, there should be a proper error for this. |
This is due to the new versioning code which requires the fourth number only if it is not zero. Set it to 1.0.0 instead and you will have no problems publishing etc. |
We should still be properly normalizing input. You should be able to type |
Currently if I do not type 1.0.0 i get many issues on publish. i ended up normalizing them by hand as it was getting too tedious to publish apps. |
@troydai Hey look, more normalization issues :P |
@glennc When does this need design? |
JunTaoLuo
added a commit
that referenced
this issue
Aug 24, 2015
JunTaoLuo
added a commit
that referenced
this issue
Aug 26, 2015
JunTaoLuo
added a commit
that referenced
this issue
Aug 26, 2015
-removed references to OriginalString -removed DnuRestore test for unnormalized directory on disk -added DnuPack test for version normalization -amending PR comments
JunTaoLuo
added a commit
that referenced
this issue
Aug 28, 2015
JunTaoLuo
added a commit
that referenced
this issue
Aug 28, 2015
-removed references to OriginalString -removed DnuRestore test for unnormalized directory on disk -added DnuPack test for version normalization -amending PR comments
JunTaoLuo
added a commit
that referenced
this issue
Aug 28, 2015
JunTaoLuo
added a commit
that referenced
this issue
Aug 28, 2015
JunTaoLuo
added a commit
that referenced
this issue
Aug 28, 2015
-removed references to OriginalString -removed DnuRestore test for unnormalized directory on disk -added DnuPack test for version normalization -amending PR comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am getting this when setting the version to 1.0.0.0 in project.json:
...
Microsoft .NET Development Utility CLR-x86-1.0.0-beta6-12256
Copying to output path C:\Users\Dima\AppData\Local\Temp\PublishTemp
System.IO.FileNotFoundException: Could not find file 'D:\Projects\My\Test\src\TestProject\bin\Release\TestProject.1.0.0.nupkg'.
It seems dnu not picking up the last zero from the version number and trying to find *.1.0.0.nupkg instead of *.1.0.0.0.nupkg. Or... the nuget package should be created as *.1.0.0.nupkg instead
The text was updated successfully, but these errors were encountered: