Closed glconsultingservice closed 1 year ago
Not possible. Have you considered the t4 templates?
When using T4 I get this error message in the output window.
System.ArgumentException: Unsupported code generation mode for T4 templates: EFCore6 at string EFCorePowerTools.Helpers.ReverseEngineerHelper.DropTemplates(string optionsPath, string projectPath, CodeGenerationMode codeGenerationMode, bool useHandlebars, int selectedOption) at async Task EFCorePowerTools.Handlers.ReverseEngineer.ReverseEngineerHandler.GenerateFilesAsync(Project project, ReverseEngineerOptions options, string missingProviderPackage, bool onlyGenerate) at async Task EFCorePowerTools.Handlers.ReverseEngineer.ReverseEngineerHandler.ReverseEngineerCodeFirstAsync(Project project, string optionsPath, bool onlyGenerate, bool fromSqlProj)
From: Erik Ejlskov Jensen @.> Sent: Thursday, March 23, 2023 1:56 PM To: ErikEJ/EFCorePowerTools @.> Cc: Glen Lewis @.>; Author @.> Subject: Re: [ErikEJ/EFCorePowerTools] Code Template Handlebars Not an Issue but "how can I question." (Issue #1749)
Not possible. Have you considered the t4 templates?
— Reply to this email directly, view it on GitHubhttps://github.com/ErikEJ/EFCorePowerTools/issues/1749#issuecomment-1481733631, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWA6TQWUQSRWPYZAISOV3Z3W5SMDPANCNFSM6AAAAAAWFRWYMI. You are receiving this because you authored the thread.Message ID: @.**@.>>
You can only use them with EF Core 7
I want to modify the basic functionality of the handlebar. I have pulled the git repo and see where I can update it. But how do I get your Tool to use my handlebar project vs the standard one.