I want to get a connection string from the app.config file.
connectionString = System.Configuration.ConfigurationSettings.AppSettings["DBEntities"];
But it doesnt work. It's empty.
I cannot access the System.Configuration.ConfigurationManager because it's .net 4.
How can i get my connection string from the app.config?
Thanks