-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
Check dependencies for the Android template #542
Comments
It may also cause the issue when I try to add Fabulous.SimpleElements. Zaid-Ajaj/fabulous-simple-elements#14 |
Can do not use packages.config for manage nuget packages? Because I see the csproj for android created by visual studio 2019 xamarin forms template is not using that and its nuget package is managed directly in the csproj like this (which is very similar with net core project format): <ItemGroup>
<PackageReference Include="Xamarin.Android.Support.v4" Version="25.4.0.2" />
<PackageReference Include="Xamarin.Forms" Version="3.1.0.637273" />
<PackageReference Include="Xamarin.Android.Support.Design" Version="25.4.0.2" />
<PackageReference Include="Xamarin.Android.Support.v7.AppCompat" Version="25.4.0.2" />
<PackageReference Include="Xamarin.Android.Support.v7.CardView" Version="25.4.0.2" />
<PackageReference Include="Xamarin.Android.Support.v7.MediaRouter" Version="25.4.0.2" />
</ItemGroup> |
@albertwoo Unfortunately we can't migrate from See #181 for more information. TLDR: Visual Studio (Windows) doesn't support old format fsproj with |
Oh, that is so sad. So what we can do is just wait :) |
Can't you use MSBuild.Sdk.Extras? |
@Happypig375 MSBuild.Sdk.Extras is the same issue. See #181 (comment) for more info on MSBuild.Sdk.Extras in Fabulous
If you happen to use 1 specific IDE that supports your scenario, you can apply PackageReference to your solution. |
The Android template has been migrated to AndroidX in v0.55, so it should be good now. |
The Android template seems to be missing some dlls required by Xamarin.Forms. (
Support something something LiveData.dll
andJava.Interop
)When updating the Xamarin.Forms package, they get added to the project even though XF doesn't update its Android dependencies.
We need to check that.
The text was updated successfully, but these errors were encountered: