-
-
Notifications
You must be signed in to change notification settings - Fork 545
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
Fix BadImageFormatException on .NET Core 3.0 #1057
Conversation
I think this doesn't work because we still use |
Also from
|
And from https://github.com/cake-build/cake/releases there has been some updates from the 0.30.0 that we use to 0.33.0 about NugetRestore and msbuild 16. |
With the recent comment the Lets retry when appveyor has finished the VS2019 (16.1) image. |
Could it be that the build server do have 3.0 installed, but since it's preview it's not picked by default? |
Hmm... I can't really see from the build logs if:
Raising the logging level from Maybe related links: |
I pushed a commit that switched our Nuget restore and build steps to |
I don't see any complaints about C# issues? Do we want to add a netcoreapp3.0 target of the Library? |
I got the entire script running on my local machine, and it even reports the IL errors reported in #1047.
Not until we need to support assertions on specific types introduced by .NET Core 3.0 |
Aha, the #1047 c# issues causing runtime problems. |
As well. But that's probably because that agent is using an old preview of .NET Core 3.0
I'm trying to figure out a way to install the right dotnet SDK as part of our build process. We do this as well in our projects. |
@lg2de As #1060 has been merged it should now be possible to build .net core 3.0 targets. |
I have reworked as requested and added the fix mentioned by @jnyrup. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work. Only one remark.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the rework, only a few comments from here.
(I really dislike that GitHub marks "request changes" with a big red alarming cross) It has changed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
This is a PR to provide testing environment for .NET Core for now. We would like to verify e.g. #1047.
Later this PR can be used to add the target for 3.0 in next release.
Regarding double format changes please note https://devblogs.microsoft.com/dotnet/floating-point-parsing-and-formatting-improvements-in-net-core-3-0/
I would recommend to adopt the expectation because this seems to be default behavior in .NET Core 3.