Bug Report: Skyline.DataMiner.Utils.SecureCoding.Analyzers v2.2.2 built against pre-release Roslyn
Package: NuGet Gallery | Skyline.DataMiner.Utils.SecureCoding.Analyzers 2.2.2 (current latest stable on NuGet)
Environment: Visual Studio 2022 v17.14.29 (stable channel), C# Tools 4.14.0
Issue: When referencing Skyline.DataMiner.Utils.SecureCoding.Analyzers v2.2.2, the following warning is produced on every project build:
CS9057: Analyzer assembly 'Analyzers.dll' cannot be used because it references
version '5.3.0.0' of the compiler, which is newer than the currently running
version '4.14.0.0'.
Root Cause: The analyzer DLL in v2.2.2 was compiled against Roslyn 5.3.0.0, which is a pre-release/insider build of the compiler. No current stable release of VS 2022 ships with Roslyn 5.x. The latest stable VS 2022 (17.14.29) ships with Roslyn 4.14.0.
Impact:
• The analyzer cannot fully load, meaning secure coding rules may not be enforced
• Every project referencing the package produces CS9057 on build
• Previous version 2.2.1 does not have this issue
Request: Please republish a patched version of Skyline.DataMiner.Utils.SecureCoding.Analyzers built against a stable Roslyn 4.x release, or clarify the minimum VS version required for 2.2.2.