In a solution, there are generally multiple projects. A file of a project may be used by several other projects. In order to ensure the uniformity of its files, better management and synchronization, it is more effective to add files as links.
In this project, app. config can be used by the other two projects. Because app. config has the same content, we only need one app. config file, and the other two are used as links.
To add a link, follow these steps.
Right-click the project to be added --> Add --> existing item...
After selecting a file, select Add as link in the add type drop-down box;
After the link is added, the following result is displayed: the file to be added as a shortcut icon;
Here, you only need to maintain an app. config file. If you have already opened an app. config file, and then opened a linked file or main file, the following dialog box is displayed.