Two useful tips

Source: Internet
Author: User
Link file instead of copying to the Project

This usage is common when two projects need to share some files. For example, if the unit test requires the Web. config file, they have to maintain two copies.

Whenever you add an existing file to a project, vs. Net automatically copies the file to the project physically.
Folder, and then add the copy result to the project. However, this result may not be what you want. If only
If you want to link a file without copying it, select "project? Add existing files ". Select the text
And click the drop-down button next to it, you will see the option of "link file"

Set the default namespace andProgramSet Name
Select "project? Attribute? Public attributes? General option "(in 2005, it is" project? Attribute? Application
Program), you can set
Namespace. This namespace can have many layers, and the new classes added through the dialog box will be
Placed under this namespace.

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.