Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Invalid version number when pushing a nuget
-
I cannot push a nugget versioned like 1.0.0-rc1.1234
(However I can push a nugget versioned like 1.0.0.1234)
Please advice.
Here is the output of running the command:nuget push MyDLL.1.0.0-rc1.1234.nupkg -Source http://progeturl/nuget/nuget -ApiKey user:pass
Pushing MyDLL.1.0.0-rc1.1234.nupkg to 'http://progeturl/nuget/nuget'...
PUT http://progeturl/nuget/nuget
InternalServerError http://progeturl/nuget/nuget 115ms
PUT http://progeturl/nuget/nuget
InternalServerError http://progeturl/nuget/nuget 86ms
PUT http://progeturl/nuget/nuget
InternalServerError http://progeturl/nuget/nuget 94ms
Response status code does not indicate success: 500 (There was an error processing the request: Invalid version number.)
.Product: ProGet
Version: 4.2.0
-
ProGet does not support that versioning scheme. This was only recently added in Nuget v3.5; we may add it at some point, but we need to support older clients and need to keep the older rules for now.