code: def get_vs_dir_from_tool_dir(self):
          
          index = self.tool_dir.find(r'Common7\Tools')
          return self.tool_dir[:index]
docs: Get the directory of Visual Studio
          from the directory Tools.