Entity Framework connection string error

Hi guys! I'm trying to crack this nut and google and stackoverflow have failed me. In my project i get the following error: "No connection string named 'MyEntities' could be found in the application config file."

The only solutions i have found have to do with the .edmx file being part of a class library not being part of the startup project. But I do only have one project with everything in it.

I did check the app.config and the connection string is there. I also completely removed all entity code and readded it from scratch. No luck.

If anyone has any input on this it would be greatly appreciated!

by StorM_Sc2 via /r/csharp

Leave a Reply