-
Notifications
You must be signed in to change notification settings - Fork 49
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
MAUI XA4214/XA4215 Xamarin.Kotlin.StdLib packages generated by more than one managed type #752
Comments
Thanks for the feedback. I cannot repro on |
Hello, |
Thanks a lot. I created my sample and was able to reproduce, but this sample of yours was helpful to compare the csproj files. Cannot upload sample. dotnet build \
net6.0/begin/AppMAUI.Issue752_KotlinGeneratedByMoreThan/AppMAUI.Issue752_KotlinGeneratedByMoreThan.csproj
dotnet build \
net7.0/begin/AppMAUI.Issue752_KotlinGeneratedByMoreThan/AppMAUI.Issue752_KotlinGeneratedByMoreThan.csproj
Seems like transitive dependencies depend on
Investigating further: moved types between maven packages. Attempt to explicitly define kotlin package reference with version 1.8.21.1 dotnet build \
net7.0/end/AppMAUI.Issue752_KotlinGeneratedByMoreThan/AppMAUI.Issue752_KotlinGeneratedByMoreThan.csproj
|
Would you be so kind and post results of
here, please?? thanks |
net8.0 builds ok
https://www.nuget.org/packages/Xamarin.Kotlin.StdLib/1.8.0.1
|
Hey @moljac,
Second one for mac-arm:
|
Hey @moljac In related issues people are suggesting some workaround like adding such package to proj: |
Can you please post all packageReferences, please? |
Yes, explicit PackageReferences help in general, but there are also cases where it does not help.
Not yet. I need to examine dependency tree/forest. This worked for me in previously attached sample (
I will add newer sample tomorrow.
|
Thank you @moljac! |
closing this issue! |
Android application type
Not applicable
Affected platform version
.NET 6 / .NET 7
Description
Hello,
Are you supporting MAUI?
I added nuget package: Xamarin.AndroidX.Core.SplashScreen to maui boilerpate from VS 17.6.4 and I got issues like that:
I have tried with package versions: 1.0.1.1 (latest) and 1.0.0.3. and latest versions of sdks .NET 6 and 7.
Do you any workaround for that issue?
Steps to Reproduce
Did you find any workaround?
Not so far
Relevant log output
The text was updated successfully, but these errors were encountered: