I\'d like to get the version of Visual Studio used to build a C# project without having to resort to C++/CLI. When I use the following in C# the compiler complains.