C # how to generate dll files and references

Source: Internet
Author: User

1. Open the "external tools" sub-menu under the "Tools" menu:

2. Click "add" to add a menu. The menu content is as follows:

Note that the parameter is/k "C: \ vs2010 \ VC \ vcvarsall. bat". Modify the installation directory path of vs2010 as needed. Click OK to find the "command prompt line" menu under the tool menu.

1: Click the command prompt and enter the following command: csc/t: library/out: c: \ Common. dll D: \ erp \ ERP_1 \ Common. csD: \ erp \ ERP_1 \ Common. cs is the cs file path c: \ Common. dll is the path to the build DLL file if it prompts that csc is not an internal or external command, nor is it a runnable program please refer to here http://blog.csdn.net/rambo_china/article/details/5157071
2: self-built project introduction: Common. dll

 

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.