【问题标题】:Building a msi Installer using MSbuild使用 MSbuild 构建 msi 安装程序
【发布时间】:2017-02-01 05:37:23
【问题描述】:

我有一个使用 Visual Studio 2015 构建的 Dotnet Windows 应用程序。

我正在尝试使用 MSbuild 和 Jenkins 自动化构建。 输出文件为 Setup.exe 和 MyAppSetup.msi。

我想使用 MSbuild 和 VS2015 解决方案文件,而不使用 VS IDE。 Visual Studio 解决方案有 6 个项目,所有项目应一起构建以生成 .msi 安装程序。

正在使用安装项目文件 (.vdproj) 构建 setup.exe 和 .msi 文件。

如何使用 MSBuild 构建相同的解决方案?

【问题讨论】:

    标签: msbuild continuous-integration


    【解决方案1】:

    msbuild 不支持设置项目。

    要与 Jenkins 集成,您必须使用 devenv (VS IDE)。

    注意:从 VS 2013 开始,vdproj 支持由插件提供。

    在以下博客中查找更多信息:https://juristr.com/blog/2014/03/Jenkins-Build-Setup-Project/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-08-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-07-23
      • 2015-04-09
      相关资源
      最近更新 更多