Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize EF Core tooling #26798

Open
Tracked by #19588
ajcvickers opened this issue Nov 23, 2021 · 8 comments
Open
Tracked by #19588

Modernize EF Core tooling #26798

ajcvickers opened this issue Nov 23, 2021 · 8 comments
Labels
area-tools propose-close punted-for-7.0 Originally planned for the EF Core 7.0 (EF7) release, but moved out due to resource constraints. resourcing-discussion type-enhancement
Milestone

Comments

@ajcvickers
Copy link
Contributor

ajcvickers commented Nov 23, 2021

.NET platforms have evolved since we first introduced tooling for migrations, database scaffolding, etc. in EF Core 1.0. We plan to update the tooling architecture to better support new platforms, like .NET MAUI, and to streamline the process in areas such as the use of multiple projects. This includes providing better feedback when things go wrong, better integration with logging, performance, and new sugar.

@ajcvickers ajcvickers added this to the 7.0.0 milestone Nov 23, 2021
@ajcvickers ajcvickers added punted-for-7.0 Originally planned for the EF Core 7.0 (EF7) release, but moved out due to resource constraints. and removed propose-punt labels Jul 7, 2022
@ajcvickers ajcvickers modified the milestones: 7.0.0, Backlog Jul 7, 2022
@RobertoGFilho
Copy link

I've been trying to work with ef core 7 pre release on MAUI and i could notice that iOS is not working. But Android and Windows work.

@seclerp
Copy link

seclerp commented Aug 21, 2022

Hey @bricelam @ajcvickers, do you folks have some details about what particular will be updated in EF Core 7 CLI tooling? I'm working on the EF Core plugin for Rider and want to introduce some tracked items to include in the new plugin milestone attached to the EF Core 7 release.

@bricelam
Copy link
Contributor

bricelam commented Aug 25, 2022

@seclerp This specific issue had to be cut from the 7.0.0 milestone. It's mostly a duplicate of #18840.

The big tooling change in EF7 was support for T4 templates. See the docs for details. You could add a UI gesture for dotnet new ef-templates (the VS plugin already did this). A bigger-impact change, however, would be to update JetBrains/ForTea to resolve assembly references from the project's NuGet packages.

@seclerp
Copy link

seclerp commented Aug 25, 2022

Thanks! Can't find Microsoft.EntityFrameworkCore.Templates template package. Is it publicly available already? What I see currently in VS plugin is that templates are shipped with the plugin itself, in a .zip archive.

@smitpatel
Copy link
Contributor

smitpatel commented Aug 25, 2022

https://github.com/dotnet/efcore/tree/release/7.0/src/EFCore.Templates

The source for the package. It is in daily builds not yet released to nuget.
Daily builds - https://github.com/dotnet/efcore/blob/release/7.0/docs/DailyBuilds.md

@seclerp
Copy link

seclerp commented Aug 25, 2022

Does T4 supports NuGet references via "assembly" directive in general? It will be cool if T4 spec exists somewhere.

@bricelam
Copy link
Contributor

Not exactly a spec, but there's a good description of T4 here: https://docs.microsoft.com/visualstudio/modeling/writing-a-t4-text-template

@bricelam
Copy link
Contributor

bricelam commented Aug 26, 2022

But no, NuGet wasn't a thing when T4 was designed. Regardless, the TeaFour plugin should still be able to look for matching assemblies inside installed NuGet packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-tools propose-close punted-for-7.0 Originally planned for the EF Core 7.0 (EF7) release, but moved out due to resource constraints. resourcing-discussion type-enhancement
Projects
None yet
Development

No branches or pull requests

6 participants