dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
18.99k stars 4.03k forks source link

CodeAnalysis packages version prerequisites #51478

Open Youssef1313 opened 3 years ago

Youssef1313 commented 3 years ago

When writing analyzers, I believe the CodeAnalysis packages version affects the prerequisites for the analyzer to run.

It would be useful for analyzer authors if it's documented somewhere the packages version and the corresponding minimum Visual Studio and .NET SDK version.

jmarolf commented 3 years ago

currently documented here: .NET compiler platform package version reference

Youssef1313 commented 3 years ago

Thanks @jmarolf. Can this include the minor versions as well?

jmarolf commented 3 years ago

done: https://github.com/MicrosoftDocs/visualstudio-docs/pull/6436

stefanloerwald commented 3 years ago

It would be great if there could also be release notes for the packages such that one can find this documentation when updating, not just after a round of searching for "why does my analyzer/SG stop working after update of Nuget packages?". V3.9.0 was effectively a breaking change, but no release notes anywhere to be found. That's not a good experience.