My connection strings are as follows:
This answer is specific for Devart Entity developer edml file.
When I upgraded the csproj format(Visual studio 2017 with simple format) I got this error. The csproj has a feature where you don't need to include each file instead it includes all the relevant files under the folder by default so the entity framework files are treated same way as cs files so those are not embedded into the assembly by default.
I need to manually change the build action of my edml file to 'DevartEntityDeploy' which resolved my problem.