Xcopy is the simplest deployment method in.

Source: Internet
Author: User

In VS 2005, three main deployment options are available: Web, clickonce, and Windows installer packages. Among the three packages, the Web and Windows installer packages have been available before. Only clickonce is an integrated deployment technology introduced by 2005 (it seems like this is the case, 2003 does not seem like this ~~ It allows you to install and run Windows applications from a Web server.ProgramBut almost no interaction with users. It's great ~~~ I read it a little over the past two days, but I haven't gotten a demo yet...

In addition to the above, there is another simplest deployment method. However, this method is also the most inflexible... Haha...

This method is to move the application file from one place to another by using the MS-DOS xcopy command.

It is implemented in this way ~~ Of course, the implementation method is not unique, mainly xcopy.

You can create a. BAT file first (for naming purposes, suppose XX). In this file, you can write some statements for filtering the file during copy, for example:

Robocopy % 1% 2 *. */e/XD/is _ VTI _ * modules error ASP/XF * vssver **. resx *. vb * vbproj ** csproj **. PDB _**. htm */ETA/log: C: \ deploy.txt

Then enter the DoS Status

Then, you can enter the following in DOS:

XX source file address target file address

Have you seen this statement in the. BAT file? /Log: C: \ deploy.txt
Through this sentence, we can query our log

After executing the copycommand, you can go to the C drive to view your deployment result in the "deployment deploy.txt" file ~~

 

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.