I am trying to run a test project, to debug the code, but the moment its trying to save data to a table in database its giving this error:
Schema specified is not valid. Errors: MSLEntities.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.
Made sure that both are using the same version of EF (6.0). Check.
Tried to enter the provider name in the connection string but already using providerName="System.Data.EntityClient"
Tried removing and reinstalling EF using PM console. Check. Manually removed Ef references and readded them. Check.
What am I missing?