Building prerelease NuGet package
I've tried to setup a build producing a prerelease NuGet package without luck. I keep getting this error:
A stable release of a package should not have on a prerelease dependency. Either modify the version spec of dependency "Microsoft.Framework.Logging.Abstractions (1.0.0-beta5)" or update the version field.
The error is cause by the fact that my project reference a prerelease package and therefore also should be prerelease itself. I've tried to do this by specifying the following in appveyor.yml:
version: 1.0.{build}-beta
From what I can see, my repository (https://github.com/elmahio/Elmah.Io.Framework.Logging) is setup like the example you have seem to get working: https://github.com/FeodorFitsner/nuget-test
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by Feodor Fitsner on 29 Jul, 2015 06:55 PM
Semver version (e.g. x.y.z-something) can only be set to
AssemblyInformationalVersionAttribute. Add this attribute to your AssemblyInfo.cs like here: https://github.com/FeodorFitsner/nuget-test/blob/master/MyNuGetLib/...Support Staff 2 Posted by Feodor Fitsner on 29 Jul, 2015 06:56 PM
AssemblyInformationalVersionis fetched by nuget packaging as package version.3 Posted by Thomas Ardal on 29 Jul, 2015 08:12 PM
That worked! Thanks.
ons. 29. jul. 2015 20.56 skrev Feodor Fitsner <
[email blocked]>:
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:58 AM.