I have a C# codebase which is being edited in both VS 2013 and VS 2015 CTP 6. With CTP 6 has come C# v6 which requires "using static" on some imports.
Is there a way in which I can determine which version (either VS or C#) is being used such that I can use a preprocessor directive to use either "using" or "using static"?
e.g.
#if CS6
using static ...
#else
using ...
#endif
A preprocessor directive is my initial thought. If there is another way to do this I am all ears.