MSBuild doesn't respect PublishUrl property for my ClickOnce app

后端 未结 4 1101
余生分开走
余生分开走 2020-12-08 14:46

I\'m trying to make a batch file to publish the few ClickOnce application we have in one click. I\'m using msbuild for that, and as an example the below command line shows h

4条回答
  •  无人及你
    2020-12-08 15:27

    For me, the soultion was to escape the path.

    Instead of:

    /p:PublishUrl="C:\Apps\"
    

    Put:

    /p:PublishUrl="C:\\Apps\\"
    

提交回复
热议问题