Warnings do not show up as warnings for custom rules #60
-
Hi @StefanMaron and community, I am running into a problem with applying custom code analyzer rules in a BC build pipeline. Even though the severity is set to warning, the problems do not pop up as a warning. See attached image, the LC-rules show up with yellow highlighting, but my custom rules do not, even though it already says "warning" :( |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Found it. This line in the So easiest solution: switch to a 2-letter code. :) |
Beta Was this translation helpful? Give feedback.
Found it. This line in the
BcContainerHelper
expects exactly a 2-letter code before it will convert ALC-output to AzureDevOps output:https://github.com/microsoft/navcontainerhelper/blob/ca6472237cf13c78fa3c864d5cbb90192ed801b6/AppHandling/Convert-ALCOutputToAzureDevOps.ps1#L39
So easiest solution: switch to a 2-letter code. :)