Access app.config values ​​from another project

There are two executable projects in my solution. One of them is the main program, and the other only after a successful installation. The primary program (REase) has an app.config file that has a connectionString that is required by another program (DBUpdater).

How can DBUpdate access app.config for REase?

+4
source share
1 answer

You can use the OpenMappedExeConfiguration method if the app.config file name for REase is known to DBUpdater.

+1
source

Source: https://habr.com/ru/post/1333583/


All Articles