My current setup:
VS1013-Solution
- MvcProject (MVC5)
- FrameworkProject (ClassLibrary) - BaseController, BaseViewModel, ets.
- EntitiesProject (ClassLibrary) - The edmx only as .cs file
- EntitiesProjectIO (ClassLibrary) - InBetweenLayer to fetch get/set data in the underlying database
I added references to 'EntitiesProjectIO' to my 'MvcProject' and made a call to 'GetData(...)'.
Schema specified is not valid. Errors: \r\nSurgeryManagementEntities.ssdl(2,2) : error 0152: No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'. Make sure the provider is registered in the 'entityFramework' section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.
is the message I get and I have now idea what the *** is going on. I already added references to nearly every known assembly, copied files from the DB-only project (EntitiesProject). Also copied EntityFramework.dll, tried NuGet for the prjects referencing the DB-Library... Edited the web.config, App.config, whatever.config. Still the same error
Update:
It's a brand new project/solution created within VS2013. Therefore I have no upgrade-issues or something else. Just a clean new solution...