I've have a Windows Forms application that uses an app.config. It works fine when debugging in Visual Studio 2013.
In Visual Studio 2013 I use :
string database = ConfigurationSettings.AppSettings["Databasenaam"].ToString();
I create an Install Shield project and add the .exe and app.config.
After Setup on a different computer, it seems that it can’t read the app.config. If I remove all lines with ConfigurationSettings it runs fine. If I replace the lines I receive an error about a missing object reference.
There is a stackoverflow article that discusses a similar (if not the same) problem here, which might be helpful.
Hi Bri,
The article you mentioned is about a setup without the projects app.config. The config file in my case exists. But it seems that my applicatiion doesn't know that and isn't able to read them.
I referenced that article because it seems to mention a similar problem, and I thought it might help you identify the problem. This problem is not directly related to our controls, so I'm afraid there is nothing else I can recommend aside from searching the web for related articles and trying a few things out.