I have a c# assembly that uses the app.config to store its database connection string. When debugging the application I noticed that the connection to the database kept fail
Try getting an instance of your app.config file as a Configuration object:
var config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
var myConnString = config.ConnectionStrings["VersionConnectionString"].ConnectionString;