Night Walker
Night Walker

Reputation: 21260

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

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

Is there some way to share the config file ? I am using VS2010.

Upvotes: 8

Views: 5724

Answers (2)

jaywayco
jaywayco

Reputation: 6286

see http://support.microsoft.com/kb/555396

Hope this helps

Upvotes: 3

Teoman Soygul
Teoman Soygul

Reputation: 25742

Yes, just add the file from the other project 'as a link': Right click on the project >> select 'Add existing file' >> navigate to the app.config file >> click the dropdown next to the 'add' button and select 'add as a link'.

Upvotes: 14

Related Questions