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
@mavasani I missed that, my mistake. Sry. It builds with the expected number of IDE0005 warnings, as expected now (after having suppressed CS1591:smile:)
Version Used:
sdk-5.0.102 built-in
Microsoft.CodeAnalysis.CSharp.CodeStyle
(3.8.0)Steps to Reproduce:
I have a public gh repo test case (very little code)
Offending source
https://github.com/maxild/SourceCodeAnalysisSpike/blob/a27692be112aeaa3b00201489e728e6c2cdf34dc/src/Program.cs#L5-L6
correct csproj props for enforcing code styles in build
https://github.com/maxild/SourceCodeAnalysisSpike/blob/a27692be112aeaa3b00201489e728e6c2cdf34dc/src/SourceCodeAnalysisSpike.csproj#L8-L9
correct editorconfig
https://github.com/maxild/SourceCodeAnalysisSpike/blob/a27692be112aeaa3b00201489e728e6c2cdf34dc/.editorconfig#L64-L65
correct build command (#43051 (comment))
https://github.com/maxild/SourceCodeAnalysisSpike/blob/a27692be112aeaa3b00201489e728e6c2cdf34dc/build.ps1
Expected Behavior:
See errors after CLI build.
Actual Behavior:
The CLI build succeeds. Not even warnings are reported.
Related Issues
Possibly a dup of #33558 (Just thought many more IDxxxx rules could be raised as warnings on CLI build using .NET 5 sdk?)
The text was updated successfully, but these errors were encountered: