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
Edit Program.cs and do something that creates an IDExxxx diagnostic message (for example put a space somewhere it doesn't belong), observe a single diagnostic message:
Now edit the test.csproj file and add <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild> to the top PropertyGroup:
Environment
Running Void Linux, using the
omnisharp-linux-x64-net6.0.zip
package, launched by theneovim-lspconfig
plugin.Tested with both
v1.39.12
andv1.39.13-beta.9
.Reproduce
Generate a new console project:
Create a new
omnisharp.json
file enabling analyzers:Edit
Program.cs
and do something that creates an IDExxxx diagnostic message (for example put a space somewhere it doesn't belong), observe a single diagnostic message:Now edit the
test.csproj
file and add<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
to the topPropertyGroup
:Now edit
Program.cs
and observe the diagnostic message is duplicated:Expected Behavior
It shouldn't be showing the same diagnostic messages twice even when enforcing code style analysis during the build.
The text was updated successfully, but these errors were encountered: