Make PowerShell ignore semicolon

后端 未结 6 2450
清歌不尽
清歌不尽 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
    

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题