Roslyn plugins (analyzers, source generators) target .NET 8 instead of .NET Standard 2.0
Sybren- opened this issue · comments
I'm trying to reference a .net 8.0 project but the Roslyn analyzer requires .netstandard 2.0 which makes this not possible.
Similar issue: https://developercommunity.visualstudio.com/t/Please-enable-Roslyn-plugins-analyzers/10616185?space=41&sort=newest
As far as I can find out it is not possible to reference .net 8 projects from the analyzer?
Could you give a more concrete example on what you are trying to achieve and why the referenced project needs to be a net8.0 instead of a netstandard2.0 project?