Problems using MsBuild using command line for Publish Click Once

前端 未结 3 1339
慢半拍i
慢半拍i 2020-12-05 07:38

I have Windows application in csproj in my solution, and I want generate Publish using command line (bat, cmd).

My script is (I put \\r\\n for better re

3条回答
  •  我在风中等你
    2020-12-05 08:19

    I don't know if this is a problem, but I noticed that you pass the /target parameter twice?

    you could you use a semi-colon delimited example:

    /target:rebuild;publish
    

    MSDN Documentation on command line parameters and MSBuild

    If that also does not work you could perhaps try to debug it by passing

    /verbosity:diag
    

提交回复
热议问题