You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created extension methods over Serilog's ILogger. When I call these method incorrectly, embedding an exception in the message template instead of passing it as the first parameter, I expect the Serilog001 warning to appear.
When I build this code using dotnet build (using dotnet 3.1.100 SDK), the warning appears as expected.
However, when I build using MSBuild (for instance through Visual Studio 16.8.4), the build is unexpectedly successful.
The text was updated successfully, but these errors were encountered:
I have created extension methods over Serilog's
ILogger
. When I call these method incorrectly, embedding an exception in the message template instead of passing it as the first parameter, I expect theSerilog001
warning to appear.When I build this code using
dotnet build
(using dotnet 3.1.100 SDK), the warning appears as expected.However, when I build using MSBuild (for instance through Visual Studio 16.8.4), the build is unexpectedly successful.
The text was updated successfully, but these errors were encountered: