-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
GetBuildVersion task fails on Ubuntu+Mono with error "MSB4018: System.BadImageFormatException: Method has no body" #224
Comments
@bording Do you recognize this failure? It's ubuntu 14 which I don't know if the version of libgit2sharp that I'm using supports any more. But even so, an empty method error that only shows up on mono but not dotnet core may be a sign of a mono bug. |
@AArnott No, that's a new one to me! I would expect Ubuntu 14 to still work, but we haven't been actively testing against mono for a while for due to some technical difficulties. We probably should revisit that and see if can get mono testing up and working again. It sure would be nice if |
It appears the issue is with how the NuGet package is structured. In the TL;DR: copying the Edit: I see you seem to have already fixed this in #222 and #227 I was facing this issue when trying to build https://github.com/AArnott/CodeGeneration.Roslyn on macOS and found this issue first, sorry. |
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.1 to 2.5.3. - [Release notes](https://github.com/xunit/visualstudio.xunit/releases) - [Commits](xunit/visualstudio.xunit@2.5.1...2.5.3) --- updated-dependencies: - dependency-name: xunit.runner.visualstudio dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
When building this project on Travis CI with Mono I get the following error:
Here are environment details:
Actually, I do not need GNerdbank.GitVersioning machinery when running builds on Travis CI since I'm building and publishing NuGet packages from Appveyor, so for now I will use a workaround described here.
The text was updated successfully, but these errors were encountered: