Xamarin and. Net 6

Filip Mestanek 6 Reputation points
2021-11-22T17:00:59.727+00:00

Hello, is it possible to use. Net 6 in Xamarin Forms (not MAUI)? I have an existing app for Android, where I would like to use EF core 6, but that requires. Net 6. I couldn't find any related info on the web, it was always about MAUI & net 6.
Thanks

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
750 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,708 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Alberto Linares Muñoz 6 Reputation points
    2022-09-14T21:17:50.987+00:00

    It's not possible. Xamarin is based on .net standard 2.0 libraries so you can't reference a .net 6 library. However, there are lower EF versions with .net standard compatibility

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.