Googler

两情相悦,又岂在朝朝暮暮。

C# ClickOnce deployment for Windows Services ClickOnce 部署windows service

A simple solution that I use is to merely stop the service and x-copy the files from my bin folder into the service folder.

A batch file to stop the service then copy the files should be easy to throw together.

Net stop myService
xcopy \\myServerWithFiles\*.* c:\WhereverTheServiceFilesAre
net start myService

http://stackoverflow.com/questions/3964354/c-sharp-clickonce-deployment-for-windows-services

posted on 2014-06-25 10:21  RockyLOMO  阅读(417)  评论(0编辑  收藏  举报

导航

Apple/苹果笔记本 Mac Air MC968CH/A 行货在保 I5 11寸 超级本