qsharp-compiler icon indicating copy to clipboard operation
qsharp-compiler copied to clipboard

Support the `NoWarn` SDK property

Open bamarsha opened this issue 4 years ago • 0 comments

The NoWarn SDK property is not fully supported by the Q# SDK and the language server.

While it seems like MSBuild recognizes it and hides matching warnings, NoWarn is not passed to the command-line compiler as a --no-warn argument, so the compilation summary will still say "N warnings" (where N > 0) even if all of the warnings were hidden.

The language server also doesn't recognize the property, so warnings are not hidden in the VS or VS Code extensions.

bamarsha avatar Mar 31 '21 01:03 bamarsha