如何将桌面应用程序脚本与MSBuild脚本集成?

问题描述:

大家好,

我正在我的系统上运行build.bat文件,使用MS build Script为应用程序构建和编译MSI。

I am building and genearating MSI for application using MS build Script by running build.bat file on my system.

我有一个DAC命令,当我使用桌面应用程序转换器运行时,输出为Appx捆绑,其中输入安装程序是从本地构建脚本生成的MSI。

I had an DAC command which when i run using desktop application converter gives output as Appx bundle where input installer is MSI generated from local build script.

现在我的要求是如何一个可以使用MS构建脚本集成桌面应用程序脚本(或DAC命令),以便在每个本地构建触发器上,我们将MSI和转换后的appx作为输出。

Now mine requirement is that how one could integtrate desktop application script (or DAC command) with MS build script so that on each local build trigger we will have MSI and converted appx as output.

最好的问候,

Ankush Butole

Ankush Butole




您好,

dac命令需要涉及DAC工具,以便它可以运行相关的PowerShell脚本。你想如何将它与你的MSBuild脚本相互关联?你为什么需要这样做?你想在TFS版本中使用它吗?通常当我们使用DAC时,我们需要
来定制很多东西来添加一些功能并调试我们的应用程序。我建议你不要这样做。

The dac command need to involve DAC tool so that it can run related powershell script. How do you want to intergate it to your MSBuild script? Why do you need to do this? Do you want to use this in a TFS build? Normally when we are working with DAC we need to customize a lot of things to add some functions and to debug our apps. I don't recommend you do this intergration.

祝你好运,

Barry