Skip to content

Conversation

@atsushieno
Copy link
Contributor

Since #1939 fails JVM tests but now with this branch they pass (locally) ...

1) You have to manually provide CscToolPath MSBuild property,
   unless you install xamarin.android.csc.dim package.
2) You have to explicitly specify AndroidEnableDefaultInterfaceMethods
   MSBuild property as True.
3) You have to explicitly specify LangVersion MSBuild property as "latest".

When C# 8.0 becomes stable, 1) and 3) will become unnecessary.
Then we should make changes to 2) as default.
They fail so far, because generator is not generating expected code yet.
It results in a bunch of build failures due to lack of metadata fixup
for any API glitch so far.
There are DIMs that results in managed events and args types, but those
names conflict each other (onAnimationStart/onAnimationEnd overloads for
each). Therefore the new methods had to be renamed.
They result in "nonexistent" `Spliterator.OfXyz` return values, and
somehow `managedReturn` fixup doesn't work for them.
Disable generating them, removal of them is harmless due to
`BaseStream#spliterator()`.
Starting with Android NDK r17, armeabi is *removed*, meaning that we
cannot build anything with armeabi anymore.

seealso: dotnet/java-interop#346
@atsushieno atsushieno added the do-not-merge PR should not be merged. label Jul 25, 2018
@atsushieno atsushieno closed this Jul 25, 2018
@atsushieno atsushieno deleted the dim+remove-armeabi branch July 25, 2018 07:52
@github-actions github-actions bot locked and limited conversation to collaborators Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

do-not-merge PR should not be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant