You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.
The out of band SPA Templates for 2.0 use the CreateWebHostBuilder() convention for Program.cs, causing dotnet-ef to fail when trying to add EF support (getting the error message suggesting IDesignTimeDbContextFactory).
Not sure what to plan for the OOB templates is but they should use the BuildWebHost() convention so that adding EF Core will work without trouble.
The text was updated successfully, but these errors were encountered:
Hi @dasMulli , is this in reference to the Microsoft.AspNetCore.SpaTemplates package? If so, that was retired per aspnet/Announcements#289. If not, can you point at the specific template(s) in this repo that are affected?
If you're considering to update the oob template package again before 2.1 (at which point it would work automatically with new EF tooling), it could also benefit from some dependency updates 😉 (Microsoft.AspNetCore.All for example)
The out of band SPA Templates for 2.0 use the
CreateWebHostBuilder()
convention for Program.cs, causing dotnet-ef to fail when trying to add EF support (getting the error message suggestingIDesignTimeDbContextFactory
).Not sure what to plan for the OOB templates is but they should use the
BuildWebHost()
convention so that adding EF Core will work without trouble.The text was updated successfully, but these errors were encountered: