-
Notifications
You must be signed in to change notification settings - Fork 784
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 for #2595, ported from fsharp/fsharp #2605
Fix for #2595, ported from fsharp/fsharp #2605
Conversation
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.
Apparently this breaks a bunch of tests.
@@ -221,7 +221,7 @@ this file. | |||
Prefer32Bit="$(Actual32Bit)" | |||
References="@(ReferencePath)" | |||
ReferencePath="$(ReferencePath)" | |||
Resources="@(_CoreCompileResourceInputs);@(CompiledLicenseFile);@(AdditionalEmbeddedResource)" | |||
Resources="@(_CoreCompileResourceInputs);@(ManifestResourceWithNoCulture);@(ManifestNonResxWithNoCultureOnDisk);@(CompiledLicenseFile);@(AdditionalEmbeddedResource)" |
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.
@jack-pappas This fix doesn't work on .NET Framework on Windows, perhaps we should make it conditional on Mono
@dsyme @KevinRansom I checked the build log for one of the failed builds. In the command line for building
Maybe we should be handling that in a better way within the |
@jack-pappas Yes, the fix adds the resources twice on Windows The overall problem is that the Mono targets are just handling resources the wrong way, as part of working around differences between Mono and Windows targets. |
Fix Microsoft.FSharp.targets with a workaround so resources are included correctly when building with either msbuild or xbuild.
@KevinRansom I added a workaround for the issue where the resources were included twice and broke the tests, and all of the CI builds are passing now. |
This is OK. I really wish we could get to the bottom of these resource processing differences on Mono |
Thanks for this Kevin |
There's a small change to
Microsoft.FSharp.targets
from fsharp/fsharp that's required to fix #2595 by embedded (as expected) theFSCore.resources
file into the compiled FSharp.Core assembly.