Auth0.OidcClient.MAUI compatibility with .net 8.0

Hi.

When I added a MAUI project reference to my newly created UnitTest project, I started to having some compatiblity issues.

Error I’m facing:

`Severity Code Description Project File Line Suppression State
Error NU1202 Package Auth0.OidcClient.MAUI 1.0.1 is not compatible with net8.0 (.NETCoreApp,Version=v8.0). Package Auth0.OidcClient.MAUI 1.0.1 supports:

  • net6.0-android29.0 (.NETCoreApp,Version=v6.0)
  • net6.0-ios13.0 (.NETCoreApp,Version=v6.0)
  • net6.0-maccatalyst14.0 (.NETCoreApp,Version=v6.0)
  • net6.0-windows10.0.19041 (.NETCoreApp,Version=v6.0)
    `

I assume Auth0.OidcClient.MAUI will not be compatible with .net8.0 any time soon.

Do I have any other options other than downgrading all of my projects back to .net6.0?

PS: Sorry for my poor tags choice, but I couldn’t find more suitable ones

Thank you for you response.
~Morbid

Does anyone know the answer? Bumping

@Morbid Did you update the Auth0 nuGet package to the latest version? I had the same problem and updating fixed it for me.

Hi @auth0fixer, thank for your reponse.

If you’re talking about this package: Auth0.OidcClient.MAUI, then yes, I upgraded it to 1.0.1 ver., but it didn’t help

Ok. I think I managed to make it work, which is suprising, because I’ve done all of these steps already. Maybe the order matters.

  1. Restart computer
  2. Update the nuget package
  3. Clean solution
  4. Build solution
  5. Rebuild solution

AND NOW IT WORKES!

I’ll leave it here, for future generations. :slight_smile: