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 am having trouble generating the SQLite configs when using an EF7 library. I am getting the following error
System.ArgumentException: 'Unable to find the requested .Net Framework Data Provider. It may not be installed.'
Happens at: var factory = DbProviderFactories.GetFactory(providerName);
I know this is caused by the factory not being registered - which is understandable in a framework app, but this is not how the EF Core config works - e.g. there is no app.config. Further, the provider is Microsoft.data.sqlite.
I expect there is something hacky that has to be done to get the factopry to work. Can you please advise - maybe some docs or something?
The text was updated successfully, but these errors were encountered:
I am having trouble generating the SQLite configs when using an EF7 library. I am getting the following error
System.ArgumentException: 'Unable to find the requested .Net Framework Data Provider. It may not be installed.'
Happens at:
var factory = DbProviderFactories.GetFactory(providerName);
I know this is caused by the factory not being registered - which is understandable in a framework app, but this is not how the EF Core config works - e.g. there is no app.config. Further, the provider is Microsoft.data.sqlite.
I expect there is something hacky that has to be done to get the factopry to work. Can you please advise - maybe some docs or something?
The text was updated successfully, but these errors were encountered: