c# - What's the latest version of Roslyn my analyzer can target if I support VS2015? -


i'm writing roslyn diagnostic analyzer should work on vs2015 , later editions. want know latest version of microsoft.codeanalysis can use project , still support vs2015. need use api added in roslyn 1.2.0 (analysiscontext.enableconcurrentexecution), think version of roslyn isn't included vs2015 (iirc, vs2017 supports c# 7). mean can't use api in analyzer?

yes, roslyn 2.3.0 work on visual studio 2017.3 , newer.

in general mappings of roslyn visual studio versions works 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


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -