Basically I have two projects. Lets name it Project A and Project B.
Both projects are WinForm apps.
There are times that I will call forms in Project B from Project A. Since both projects have different implementation of connection strings, business layer, services, and models, these are all set under app.config per project, which have different content, of course.
In other words, Project A has its own app.config. Project B has its own app.config.
Now I want to use or rather switch app.config at runtime on my winform/winapp project. Is this possible?
The problem is that when I launch the whole solution (Project A is set as startup), the app.config of Project A is loaded. Now I want to use the app.config of Project B everytime I will call Project B winforms.
Thanks for any inputs you can provide!