Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SqlPackage Quiet Output SSDT

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>
like image 753
Will Munn Avatar asked Oct 17 '14 15:10

Will Munn


1 Answers

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.)"

like image 57
Steven Green Avatar answered Oct 13 '22 19:10

Steven Green