Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssemblyInformationalVersion with non integer value causes opaque error message. #1133

Closed
xavierzwirtz opened this issue Oct 13, 2015 · 2 comments

Comments

@xavierzwirtz
Copy link
Contributor

I have an assembly with 1.2.foo.4 as the AssemblyInformationalVersion.

$ paket.exe pack output bin fails with

Input string was not in a correct format.

Not very obvious what the problem is without attaching a debugger.

@xavierzwirtz
Copy link
Contributor Author

Also, its not possible to override AssemblyInformationalVersion from the command line, its always attempting to parse it as a semver and failing.

@xavierzwirtz
Copy link
Contributor Author

Its feeling like paket expects AssemblyInformationalVersion to 100% be a semver version. Wrapping the SemVer.Parse with a try catch for AssemblyInformationalVersion solves my issue.

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

No branches or pull requests

1 participant