-
Current behaviorI tried to build by referencing Uno class library in Uno .Net 6 project, but the following error occurred.
Expected behaviorBuild works without issue How to reproduce it (as minimally and precisely as possible)Reference Xamarin.Auth nuget package in class library WorkaroundRemove Xamarin.Auth package from reference Anything else we need to know?MAUI had a similar issue. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Thanks for the report. Are you able to create a repro project that we can test with? |
Beta Was this translation helpful? Give feedback.
-
I've tried, but the library is not small so it's hard to find out which one is causing the problem right now. |
Beta Was this translation helpful? Give feedback.
-
I am not familiar with the .NET6 Android build environment, but as the underlying issue is that |
Beta Was this translation helpful? Give feedback.
-
The deprecated Xamarin.Auth library was referenced in the .NET Standard project that the Uno class library was referencing. Here is a repro project. |
Beta Was this translation helpful? Give feedback.
The deprecated Xamarin.Auth library was referenced in the .NET Standard project that the Uno class library was referencing.
I didn't expect that the library referenced by .NET Standard (not Uno class library) was causing the issue, so it took me a long time to find it.
I removed that package and the issue was resolved.
Here is a repro project.
Net6AndroidCompilationFailed.zip