【问题标题】:How to find the Visual studio version installed in the machine in visualBasic [duplicate]如何在visualBasic中找到机器中安装的Visual Studio版本[重复]
【发布时间】:2022-08-23 14:40:56
【问题描述】:

我需要知道 Visual Basic 的机器中安装了哪个版本的 Visual Studio(即 2022、2019 等)。我可以使用下面的代码在 c# 代码中得到它。我需要找到 Visual Basic 语言的版本

ExecuteCMDCommands(vswhereExePath, \"-latest -property catalog_productLineVersion\");

    标签: c# vba visual-studio


    【解决方案1】:

    根据this link,该功能已被弃用。建议不要使用这种方法,而是将所有构建设置保留在源代码控制的工作区中,以便构建跨环境可靠。

    【讨论】:

      猜你喜欢
      • 2014-07-19
      • 1970-01-01
      • 2019-05-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-02-14
      • 1970-01-01
      相关资源
      最近更新 更多