home / software / tips and tricks / How App.confg file can Reference an External config File?

How App.confg file can Reference an External config File?

Updated:  10/03/2012 09:10 AM
Author:  Shiju Mathews

Status:    Resolved.


In web sites 'App.confg' files can Reference and read an External config file. This is useful in many situations when one project is referencing another project. This is also help to manage the solution by avoiding the duplicate configuration setting values and connection string.

Add an App.config the the project. Open the App.config file and edit the 'appSettings' element under configuration.


Now add your External.config to D:\projects directory

External.config


Tags: How App.confg file can Reference an External config File?
Updated on: December 2024