开发者

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

开发者 https://www.devze.com 2023-03-16 04:23 出处:网络
I have a two projects under one solution, and I need to share a app.config file between them . mo开发者_如何学Pythonstly they use the same parameters from the configuration.

I have a two projects under one solution, and I need to share a app.config file between them . mo开发者_如何学Pythonstly they use the same parameters from the configuration.

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


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'.


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

Hope this helps

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号