Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Auth0 NuGet packages for Xamarin Forms 5.0

I’m building a new Xamarin mobile app using Xamarin Forms 5.0 and tried to install Auth0.OidcClient.iOS and Auth0.OidcClient.Android as suggested by the instructions on Auth0 website here: https://auth0.com/docs/quickstart/native/xamarin

I get an error that tells me that these packages are NOT compatible with .NET Standard 2.0 — see below:
enter image description here

What packages am I supposed to use with a new Xamarin Forms app?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

P.S. I’m on Visual Studio 2022 17.1.0 and the app is a Xamarin Forms app with the following version numbers in the project file:

<PackageReference Include="Xamarin.Forms" Version="5.0.0.2196" />  
<PackageReference Include="Xamarin.Essentials" Version="1.7.0" />

>Solution :

as the name suggests Auth0.OidcClient.iOS should be installed in your iOS project and Auth0.OidcClient.Android should be installed in your Android project. You are apparently trying to install them in the shared Forms project

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading