Add a link (shortcut, reference?) for the file in Visual Studio ?)

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.