How to share app.config SQL Connection String between projects

269 Views Asked by At

I have a set of projects (e.g., For DataProvider, Tests and Main).

I'm getting a SQL connection string from my app.config file using ConfigManager.

When I need to use this connection string in project other than Main, currently I need to copy-n-paste the connection string to next app.config.

Can I configure it so that all projects read the connection string from the main app.config file?

Thanks for your help!

0

There are 0 best solutions below