microsoft / azure-pipelines-extensions

Collection of all RM and deployment extensions
http://www.visualstudio.com/explore/release-management-vs
MIT License
275 stars 425 forks source link

Update SqlPackageOnTargetMachines.ps1 #1208

Open phalpin opened 7 months ago

phalpin commented 7 months ago

Remove --% simple parsing directive. This causes Illegal characters in path errors from sqlpackage when used via Invoke-DacpacDeployment. Removing --% appears to alleviate the problem and continues to work in ps5 + pscore. Seems to be the only usage of this method.

Don't know all of the use cases for this, so feel free to nuke this PR if this will break something known, but I've tried with and without spaces, it appears to work in both PS5 and PS Core (7.3.8 specifically)