I'm writing a Roslyn diagnostic analyzer that should work on VS2015 and later editions. I want to know the latest version of Microsoft.CodeAnalysis
I can use with my project and still support VS2015. I need to use an API that was added in Roslyn 1.2.0 (AnalysisContext.EnableConcurrentExecution
), but I think that version of Roslyn isn't included with VS2015 (IIRC, only VS2017 supports C# 7). Does this mean I can't use this API in my analyzer?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Generic Generics in Managed C++
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
Yes, Roslyn 2.3.0 will only work on Visual Studio 2017.3 and newer.
In general the mappings of Roslyn to Visual Studio versions works like this:
Roslyn 1.0.x -> Visual Studio 2015.0 (RTM)
Roslyn 1.1.x -> Visual Studio 2015.1 (Update 1)
Roslyn 1.2.x -> Visual Studio 2015.2 (Update 2)
Roslyn 1.3.x -> Visual Studio 2015.3 (Update 3)
Roslyn 2.0.x -> Visual Studio 2017.0 (RTM)
Roslyn 2.1.x -> Visual Studio 2017.1
Roslyn 2.2.x -> Visual Studio 2017.2
Roslyn 2.3.x -> Visual Studio 2017.3