C#C
C#2y ago
Denge

Authentication: IdentityUser error

I'm currently learning to work with .NET by making a test project. It is almost finished so I'm currently trying to build an authentication. Been following a step-for-step guide.

However when I try to run my code, I get the following error: The type 'IdentityUser' exists in both 'Identity.Stores, Version=1.2.7.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' and 'Microsoft.Extensions.Identity.Stores, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'

I'm guessing there is some kind of conflict between multiple IdentityUser objects, but how do I solve this?

Included screenshots of my code
Schermafbeelding_2024-01-19_150553.png
Schermafbeelding_2024-01-19_150610.png
Was this page helpful?