Hello,
I have converted a project from ANM2023.
I get these errors after trying publishing it:
d:\APPS\FrontDeskFlux-3\Program.cs(66,30): error CS0104: 'ApplicationUser' is an ambiguous reference between 'ASPNETMaker2024.Entities.ApplicationUser' and 'ASPNETMaker2024.Models.ApplicationUser' [d:\APPS\FrontDeskFlux-3\FrontDeskFlux_1.csproj]
d:\APPS\FrontDeskFlux-3\Program.cs(69,42): error CS0104: 'ApplicationUser' is an ambiguous reference between 'ASPNETMaker2024.Entities.ApplicationUser' and 'ASPNETMaker2024.Models.ApplicationUser' [d:\APPS\FrontDeskFlux-3\FrontDeskFlux_1.csproj]
d:\APPS\FrontDeskFlux-3\Program.cs(69,18): error CS0311: The type 'ASPNETMaker2024.Models.CustomUserStore' cannot be used as type parameter 'TImplementation' in the generic type or method 'ServiceCollectionServiceExtensions.AddTransient<TService, TImplementation>(IServiceCollection)'. There is no implicit reference conversion from 'ASPNETMaker2024.Models.CustomUserStore' to 'Microsoft.AspNetCore.Identity.IUserStore<ASPNETMaker2024.Entities.ApplicationUser>'. [d:\APPS\FrontDeskFlux-3\FrontDeskFlux_1.csproj]
I have deleted all old generated files and the error still persists.
We make use of tables for users, roles and permissions (dynamic roles).
Regards.