We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3046d42 commit f5a21cbCopy full SHA for f5a21cb
1 file changed
public/New-DbaDacPackage.ps1
@@ -335,7 +335,8 @@ function New-DbaDacPackage {
335
foreach ($msg in $validationMessages) {
336
$msgText = "$($msg.MessageType): $($msg.Message)"
337
338
- if ($msg.MessageType -eq [Microsoft.SqlServer.Dac.Model.DacMessageType]::Error) {
+ # DacMessageType is in Microsoft.SqlServer.Dac namespace, not Microsoft.SqlServer.Dac.Model
339
+ if ($msg.MessageType -eq [Microsoft.SqlServer.Dac.DacMessageType]::Error) {
340
$null = $buildErrors.Add($msgText)
341
Write-Message -Level Warning -Message $msgText
342
} else {
0 commit comments