Jonathan Pobst

Results 175 comments of Jonathan Pobst

Change the ```xml 21 ``` in your .csproj file to: ```xml 24 ``` (or add it with `24` if it doesn't exist.)

I'm gonna give MAUI first dibs on this one, as the online sleuthing points to using the Android API incorrectly, and not an issue with the way we have bound...

```csharp [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(IMyInterfaceInvoker))] partial interface IMyInterface : IJavaPeerable { // … } partial class IMyInterfaceInvoker : Java.Lang.Object, IMyInterface { // … } ``` This is not valid, as [`[DynamicDependency]`](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.dynamicdependencyattribute) can...

> @jpobst: open question: should we update `[Register]` at all? Or just have `XAJavaInterop1` start emitting `[JniTypeSignature]`? Given that we already know there are [issues](https://github.com/dotnet/java-interop/pull/1266) with using `[JniTypeSignature]` for `XAJavaInterop1`...

This is on hold due to: - Concerns about thread-safety - Making this change this late in the .NET 9 development cycle We intend to pick this back up for...

If we want to publish a `1.1.0.2-alpha06` we can do that. We'll need to have a PR which only changes that one, and publish it directly from the branch. We...

> It is not a download, but a decompression problem of GAppM-10.28.0 Sure, but I still don't understand what the root issue is. When we decompress `GAppM-10.28.0`, ***why*** do the...

Can you provide a minimal repro? I do not see this error with the following project: ```xml net9.0-android 21 issue_1292 enable enable true ```

Looking at the relevant code: https://github.com/dotnet/java-interop/blob/4f06201b598ac3816184ea7a0b71f540f6abe9d6/src/Java.Interop.Tools.JavaTypeSystem/Adapters/ManagedApiImporter.cs#L194-L195 This appears to be a case where: - We are trying to import a referenced Android binding .dll. - A method in that .dll...