EF6.5.1 model in net8 assembly using LINQPad 8
We are unable to migrate our EF6 model to EF Core. We compile our EF6 model into both net8 and net9 assemblies. These work fine in any net8 or net9 WPF or asp.net project. An app.config or web.config file normally has the EF6 connection string definition.
When I add the EF6 Nuget to a query and reference our net8 assembly containing an EF6 model, we see an error No connection string named 'JASContext' could be found in the application config file. I tried copying the config text into a file named LINQPad.config in the same folder as LINQPad8.exe file. I tried using a couple of the third party Nuget described as a LINQPad driver. In each case there was an error about attempted code first with an EF6 EDMX model. We are unable to make a code first model for our DB. We have migrated all of our EF6, WPF, and asp.net applications to net8 or net9 and hope to use the net8 assembly that contains the EF6 model in LINQPad and avoid maintaining a net Framework EF6 assembly.
Comments
https://forum.linqpad.net/search?Search=config