© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
1 reply
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
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Unable to use IdentityUser
C#CC# / help
3y ago
Authentication error responses
C#CC# / help
2y ago
Add New Scaffolding - cannot select IdentityUser?
C#CC# / help
4y ago