Closed KnechtLRK closed 1 year ago
Please share a simple runnable console app
I ended up getting this working. The situation was we have a separate project for the entity framework models which is a class library. It was this project that was reporting the error. After adding the ErikEj.EntityFramework.SqlServer package to the console application the console application does not have the same build error and even though the class library still reports the build error the application does run successfully.
I installed the latest package of ErikEJ.EntityFramework.SqlServer. Upon compiling the project which consists only of the database models I'm getting the following error reported against the .edmx file.
Error 175: The ADO.NET provider with invariant name 'Microsoft.Data.SqlClient' is either not registered in the machine or application config file, or could not be loaded. See the inner exception for details.
I followed the instructions in the ReadMe section so I'm at a lost of where to go from here. The error is being reported at line 7 of the .edmx file (see below).
Here are .edmx, app.config, and packages.config files. B2B.edmx.txt App.Config.txt packages.config.txt
Any insight on the resolution would be greatly appreciated. Thank you!