How to add a web form file to a Class Library Project

Source: Internet
Author: User

By default, the vs2003 installation directory is "C: \ Program Files \ Microsoft Visual Studio. NET 2003"

Open the file "C: \ Program Files \ Microsoft Visual Studio. NET 2003 \ Vc # \ csharpprojectitems \ webprojectitems \ UI. vsdir" in Notepad. The content is shown in the following figure:

... \ .. \ Csharpaddwebformwiz. vsz | {FAE04EC1-301F-11d3-BF4B-00C04F79EFBC} | #2236 | 10 | #2263 | {FAE04EC1-301F-11d3-BF4B-00C04F79EFBC} | 45 34 | 0 | webform. aspx

.. \ Csharpaddwebusercontrol. vsz | {FAE04EC1-301F-11d3-BF4B-00C04F79EFBC} | #2378 | 20 | #2379 | {FAE04EC1-301F-11d3-BF4B-00C04F79EFBC} | 4558 | 0 | webusercontrol. ascx

...

Copy the preceding two statements on webform and webusercontrol to "C: \ Program Files \ Microsoft Visual Studio. NET 2003 \ Vc # \ csharpprojectitems \ localprojectitems \ UI. in the vsdir file, you can right-click "Add new item" to add a web window in the class library project.

Appendix: Visual Studio enterprise-level template file description

Http://msdn.microsoft.com/library/chs/default.asp? Url =/library/CHS/vsent7/html/vxtskcreatingtemplateprototypes. asp

Thank you for your support. Thank you!

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.