Make PowerShell ignore semicolon

后端 未结 6 2711
清歌不尽
清歌不尽 2021-02-19 06:54

I want to execute a cmd on PowerShell and this command uses semicolons. Then PowerShell interprets it as multiple commands. How do I make PowerShell ignore the semicolons and ex

6条回答
  •  花落未央
    2021-02-19 07:08

    You can use comma as the separator:

    msbuild /t:Build,PipelinePreDeployCopyAllFilesToOneFolder /p:Configuration=Debug,_PackageTempDir=$TargetFolder $WebProject
    

提交回复
热议问题