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 ~~