MSBuild.Sdk.SqlProj icon indicating copy to clipboard operation
MSBuild.Sdk.SqlProj copied to clipboard

Mute SQL warnings

Open Belorus opened this issue 3 years ago • 1 comments

Hi everyone,

Is there a way to do subj?

I tried adding following to my .csproj, but it didn't help. <NoWarn>71562</NoWarn> Also i tried adding /p:nowarn=71562 to dotnet build and this didn't help

P.S. Thanks a ton for your work. We completely changed DB versioning approach thanks to your SDK

Belorus avatar Dec 02 '21 19:12 Belorus

@Belorus First of all, thank you for the encouragement, really means a lot!

I believe what you are looking for is SuppressTSqlWarnings. This is described in more detail in our README, but you should be able to replace <NoWarn> with <SuppressTSqlWarnings> and it should work.

jmezach avatar Dec 03 '21 08:12 jmezach

@jmezach Why are you assigned?

ErikEJ avatar Nov 22 '22 14:11 ErikEJ

Probably because I already answered this. But let's go ahead and close this. @Belorus Feel free to re-open if this is still an issue.

jmezach avatar Nov 22 '22 14:11 jmezach