ASP. NET web project Packaging

Source: Internet
Author: User
1. Open your project, right-click your solution in <solution Manager>, and select <add>-<new project>.

2. In the <add new project> dialog box, select <installation and deployment project>-<web installation project>. (Note: <web installation project> storage path .)

3. The <File System (your web installation project name)> is displayed on the left side of the vs.net window. Right-click and select <Web ApplicationProgramFolder>, select <add>-<project output>, and select both <main output> and <Content File> in <add project output group>. (Note: You can choose one as needed .)

4. In your solution, a project with the name of your web installation project will be added, that is, the project to be installed. Save it. Sometimes an error occurs.

5. If you use crystal report, add the support file for Crystal reprot. In Solution Explorer, right-click the yousetup Project (your installation project name), select "add merging module", find it in the window, and select C: \ Program Files \ common files \ merge modules \ dotnetcrystalreports. MSM. Open it and add it;

6. Right-click the <web application folder> and select the Properties window. In the Properties window, set <defadocument document> to "your default logon page", that is, "start page ",

7. Select the project with the Web installation project name, right click, and select <generate>;

8. Then, there will be a folder with the name of your web installation project under the storage path of your web installation project. There is also a debug folder below, all the files under debug are required.

9. copy the files in the debug folder to the machine you want to install, and then install the files.

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.