Last post Jan 04, 2019 03:02 AM by Xing Zou
Jan 03, 2019 10:37 AM|PaulAllington|LINK
I am running the identity code generator
dotnet aspnet-codegenerator identity -dc WebApplication1.Data.ApplicationDbContext --force
but the pages that are output are based on bootstrap 3 - what I've read suggests they should be bootstrap 4 (eg https://github.com/aspnet/Scaffolding/issues/712#issuecomment-420143440)
Is there something additional that I need to do to get BS4 based identity pages?
I have ensured the tool is up to date:
dotnet tool update --global dotnet-aspnet-codegenerator
Tool 'dotnet-aspnet-codegenerator' was reinstalled with the latest stable version (version '2.2.0').
Jan 04, 2019 03:02 AM|Xing Zou|LINK
In asp.net core 2.2 web application, do you specify below code in startup.cs:
I create a new core 2.2 individual account application and follow this
tutorial to scaffold Identity where there's a bug to use dotnet-aspnet-codegenerator 2.2.0:
I uninstall it and reinstall the dotnet-aspnet-codegenerator --version 2.1.6 and then it works well with bootstrap4.