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
The work done in dotnet/sdk#20793 should be documented. Points that should be covered:
Why/when multi-targeting is needed.
How to include different versions in both cases when SDK supports components multi-targeting (SupportsRoslynComponentVersioning is true) and when it's false.
How to handle Roslyn APIs that exists in a newer version but not an older one.
One thing I haven't done yet but want to try is multitargeting Roslyn v2 and v3 in one package. That requires a .targets that's a bit more involved than "If not SupportsRoslynComponentVersioning then delete roslyn4."
The work done in dotnet/sdk#20793 should be documented. Points that should be covered:
SupportsRoslynComponentVersioning
is true) and when it's false.The article can go in https://github.com/dotnet/docs/tree/main/docs/csharp/roslyn-sdk and be linked from source generators article and analyzer/codefix article.
cc @eerhardt in case you want to work on the documentation.
The text was updated successfully, but these errors were encountered: