自动构建在.NETNET

2023-09-03 23:18:36 作者:天生萌萌

我有一个解决方案SLN,有50个项目(vbproj,的csproj,并设置项目)。

I have a solution sln, with 50 projects (vbproj, csproj, and setup project).

我需要的所有解决方案使自动化构建和项目(一套解决方案文件夹中的项目),以及安装项目(vdproj)。

I need automatize Build of all solution, and projects (set of projects of solution folder), and setup project (vdproj).

我vdproj(安装项目)有后生成事件。

My vdproj (setup project) has Post Build Event..

首先,我怎样才能使自动化构建vdproj?我只能为构建它释放和拷贝输出(SETUP.EXE,* .msi)复制到另一个文件夹执行的命令。

First, how can I automatize build for vdproj ?? I only can execute a command for build it in release and the copy Outputs (setup.exe, *.msi) to another folder.

推荐答案

有应用程序,它可以帮助你进行自动构建,例如数巡航控制。

There are number of application which can help you to make automatic build, e.g. Cruise Control.

此外,您可以通过使用 MSBUILD.EXE ,这是Windows SDK中的一部分。

Additionally, you can create your own by using the MSBUILD.EXE, that is part of Windows SDK.