问题
Is there a way to distinguish which version of compiler using preprocessor directives?
I'm having trouble with the new Roslyn compiler, which generates different code than the old compiler and I need to keep the code compatible for the team, which is using both Visual Studio 2013 and 2015.
来源:https://stackoverflow.com/questions/32987410/how-to-distinguish-version-of-compiler-using-preprocessor-directive