def get_msvs_executable(self, version): """Returns a full path to the executable (MSDEV or devenv) for the specified version of Visual Studio. """ from SCons.Tool.MSCommon import get_vs_by_version msvs = get_vs_by_version(version) if not msvs: return None return msvs.get_executable()