Hmm, just hit the first analyzer that needs relatively new version of Roslyn because of a new language feature I need to support (collection expression syntax) and now I'm not sure what to do. The existing analyzers target Roslyn 3.11 to support VS2019 16.11, which is very much not capable of running that. We'll need Roslyn 4.8, with a minimum supported VS version of 2022 17.8.
Time to bump up the minimum? What happens if I try to run Roslyn 4.8 analyzers in 2019? đ€
Hmm, I'm wrong. This is the _second_ analyzer that's trying to use collection expression support, and I just wasn't paying close enough attention previously.
Thankfully, the early poll results seem to indicate that it won't be a problem to bump up to 4.8. https://dotnet.social/@xunit/116350131334850506
What version of Visual Studio are you using with xUnit.net? [ ] VS 2019 [ ] VS 2022 (< 17.8) [ ] VS 2022 (>= 17.8) [ ] VS 2026