-
Notifications
You must be signed in to change notification settings - Fork 516
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
[regression] iOS app build fails when referencing package (e.g. Entity Framework Core 2.1) that depends on newer System.Memory in d15-9 #4761
Comments
@spouliot @marek-safar This is a regression in Could a potential solution be to not ship |
That error is quite strange. We don't ship System.Memory (which is actually an issue on our side) but the current setup should still work. I'll check if I can reproduce it as well |
@marek-safar it was removed in 15.8 (mono 2018-02) but, IIRC, you mentioned there was a fix in progress for the next mono, i.e. my understanding is that System.Memory.dll was not removed in mono master (which became the 2018-04 we're presently using for 15.9). |
Fixes xamarin#4761
Fixes xamarin#4761
Fixes xamarin#4761
Steps to Reproduce
Expected Behavior
No build failure (just like in d15-8).
Actual Behavior
This is a repeat/regression of #4168, just that it only happens in d15-9.
Build Logs
Failing build log (with Xamarin.iOS 11.16.0.26): https://gist.github.com/rolfbjarne/9b1cecf7968f6958a667204dda49a09f
Working build log (with Xamarin.iOS 11.14.0.14): https://gist.github.com/rolfbjarne/a4e0a0859a627777f8302cda841ada19
Diff between build logs: https://gist.github.com/rolfbjarne/76c1dab569d0994497a8754910a5de63
The significant difference seems to be that we're shipping System.Memory.dll in d15-9, which we end up using, while in d15-8 we use the nuget-provided version:
https://gist.github.com/rolfbjarne/76c1dab569d0994497a8754910a5de63#file-build-diff-L47-L52
https://gist.github.com/rolfbjarne/76c1dab569d0994497a8754910a5de63#file-build-diff-L207
This is supported by the fact that if I remove the System.Memory.dll we ship in d15-9:
then the project builds fine.
The project also builds fine if I use a version of Xamarin.iOS that has bumped to mono 2018-06 (from PR #4277):
which seems to indicate that this is a problem in mono's
2018-04
branch (d15-8
used mono's2018-02
branch, whiled15-9
is using mono's2018-04
branch).The text was updated successfully, but these errors were encountered: