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
I'm working in a project that mix F# and C#, today the DbContext is in the C# part,
I would like to use some of the features of this package, but the generated migration is a mix of C# and F# (which does not compile)
Currently the EntityFrameworkCore.FSharp.props file should only register EFCoreFSharpServices if the project it's installed into is an F# project.
A possible workaround would be to register your own implementation of IDesignTimeServices that restores the default c# generators
Looking at EFCoreFSharpServices.fs, simply replacing every instance of FSharp with CSharp and removing ScaffoldOptions and FSharpMigrationsGeneratorDependencies should do the job
Hmm... this bug might belong in dotnet/efcore. I wouldn't be surprised if I accidentally used the startup project's language instead of the target/migrations project's language.
Uh oh!
There was an error while loading. Please reload this page.
I'm working in a project that mix F# and C#, today the DbContext is in the C# part,
I would like to use some of the features of this package, but the generated migration is a mix of C# and F# (which does not compile)
The is any way to workaround this?
Should this package discover is the project is a F# project?
Or should we have a configuration for that?
The text was updated successfully, but these errors were encountered: