Commit 29740ab
authored
[Xamarin.Android.Build.Tasks] JavaTypeSystem & XML Adjuster (#6444)
Context: dotnet/java-interop@f658ab2
In commit 43243b4 we added the `$(_AndroidUseJavaLegacyResolver)`
MSBuild property to the `<BindingsGenerator/>` MSBuild task, to allow
users to use the older "API XML Adjuster" instead of the new
`Java.Interop.Tools.JavaTypeSystem.dll` infrastructure added in
dotnet/java-interop@f658ab26.
However, we call `generator` twice during the build: once for
`ApiXmlAdjuster`, and once to generate C# code, but we only added
the the `$(_AndroidUseJavaLegacyResolver)` to the "generate C# code"
case. Update the `_ExportJarToXml` target so that
`$(_AndroidUseJavaLegacyResolver)` is used in the `ApiXmlAdjuster`
scenario, which is where it is primarily needed.1 parent 85a50c8 commit 29740ab
File tree
1 file changed
+1
-0
lines changed- src/Xamarin.Android.Build.Tasks/MSBuild/Xamarin/Android
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
0 commit comments