Hi guys a project I'm working on has an app config file which determines what other dll's to load at runtime. I have been tasked with adding the functionality of taking the dll from our servers and then changing the app conifg to have the exe now load up with that file. The idea is the user at runtime will choose a file and then the app config will change and then restart the exe with the new dll loaded.
I couldnt seem to find exactly what I was looking for. We are using Visual Studio 2012 with .net 4.
How do you edit the app config file at runtime and then have the program close and rerun?