psake

Powershell call msbuild with nested quotation marks

℡╲_俬逩灬. 提交于 2019-11-26 21:57:00
Using Powershell and Psake to create package and deployment for a visual studio solution. Trying to deploy a database project using msbuild - which is working correctly using msdos visual studio command line msbuild /target:Deploy /p:UseSandboxSettings=false /p:TargetConnectionString="aConnectionWithSpacesAndSemiColons" "aDatabaseProjectPathWithSpaces" the same method call results in an error when called from powershell & msbuild /target:Deploy /p:UseSandboxSettings=false /p:TargetConnectionString="aConnectionWithSpacesAndSemiColons" "aDatabaseProjectPathWithSpaces" relating to spaces - can't

Powershell call msbuild with nested quotation marks

我的未来我决定 提交于 2019-11-26 08:07:16
问题 Using Powershell and Psake to create package and deployment for a visual studio solution. Trying to deploy a database project using msbuild - which is working correctly using msdos visual studio command line msbuild /target:Deploy /p:UseSandboxSettings=false /p:TargetConnectionString=\"aConnectionWithSpacesAndSemiColons\" \"aDatabaseProjectPathWithSpaces\" the same method call results in an error when called from powershell & msbuild /target:Deploy /p:UseSandboxSettings=false /p