Scaffold-DbContext "Build failed" Solution: Ensure that the project can be built without errors
安装EntityFrameworkCore:Scaffold-DbContext "server=.;database=test;uid=test;pwd=test;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models -Force -UseDatabaseNames