Lombiq / .NET-Analyzers

.NET code analyzers and code convention settings for Lombiq projects.
BSD 3-Clause "New" or "Revised" License
10 stars 7 forks source link

Fix that CI builds sometimes produce different analyzer violations than local builds (OSOE-855) #99

Closed Piedone closed 3 weeks ago

Piedone commented 1 month ago

See e.g. this most recent example: https://github.com/Lombiq/Helpful-Libraries/issues/261. I also started an investigation there.

Jira issue

Piedone commented 1 month ago

My minimal repro still surfaces the issue under .NET v8.0.204: https://github.com/Lombiq/OSOE-855-AnalyzersTest/actions/runs/9096693522/job/25002706433

Piedone commented 1 month ago

Opened Roslyn issues:

Piedone commented 1 month ago

We need to pin the .NET version number: https://github.com/dotnet/roslyn/issues/73639#issuecomment-2150224058