Is there a way to share app.config between two projects?

I have two projects under one solution, and I need to share the app.config file between them. basically they use the same parameters from the configuration.

Is there any way to share the configuration file? I am using VS2010.

+8
c # visual-studio-2010
source share
2 answers

Yes, just add the file from another project β€œas a link”: right-click on the project β†’ select β€œAdd an existing file” β†’ go to the app.config file β†’ click the drop-down list next to 'add' and select "Add as link".

+14
source share
+3
source share

All Articles