LoginSignup
0
1

More than 5 years have passed since last update.

ClickOnceアプリケーションをコマンドラインで発行する

Last updated at Posted at 2016-09-14

コマンドラインで発行場所を指定するには、PublishDirをオーバーライドする。
PublishUrlはIDEによる発行でしか使われない。
ついでにApplicationRevisionをオーバーライドしてやればリビジョン毎にフォルダを分けられ、いざというときにロールバックが可能になる。jenkinsのジョブ番号でも渡してやれば良いだろう。

>msbuild /t:publish /p:PublishDir=\\hostname\deploy\ /p:ApplicationRevision=101 /p:Configuration=release

参考(というか答えそのもの)

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1