I have a script that automates the creation of a database on a CI server, however, the output of SqlPackage.exe is very noisy. According to the documentation, there is a /Quiet:True flag to prevent this, however, setting this flag doesn't seem to make any difference. Does anyone know a way to make this work?
Here's the Command I'm running:
C:/Program Files (x86)/Microsoft SQL Server/110/DAC/bin/SqlPackage.exe" /Quiet:True Action:Publish /SourceFile:<snip>.dacpac /Profile:<snip>.publish.xml /TargetConnectionString:<snip>
That sqlpackage setting doesn't do anything, unfortunately. Would it be possible to launch another console using cmd.exe and passing the sqlpackage call to it as an argument?
In any event, I recommend logging a Connect bug regarding that flag being ignored. Connect bugs for sqlpackage.exe can be filed at https://connect.microsoft.com/SQLServer/feedback/CreateFeedback.aspx using the category "Developer Tools (SSDT, BIDS, etc.)"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With