【发布时间】:2010-12-09 09:37:56
【问题描述】:
我正在研究 Installshield 和 TFS (VSTS 2008),现在我想构建 Installshield 2011 项目以及构建定义。
为此,我创建了 build.proj 文件,其中包含构建定义以构建运行良好的 .sln 项目。
现在在构建定义文件的末尾我添加了这样的内容:
<Target Name="AfterCompile">
我已经添加了Installshield项目的引用,以便在构建Visual Studio项目之后开始构建Installshield项目:
<Exec Command=""$(DevEnvDir)\Common7\IDE\devenv" E:\Sw\Manual_Build_TFS_R3\Setup.isproj /Build"/>
之前我使用 VSINSTALLDIR 代替 DevEnvDir 仍然会出现错误提示
Task "Exec"
Command:
"\Common7\IDE\devenv" E:\Sw\Manual_Build_TFS_R3\Setup.isproj /Build
The system cannot find the path specified.
E:\BuildSource\Temp\BuildType\TFSBuild.proj(444,5): error MSB3073: The command ""\Common7\IDE\devenv" E:\Sw\Manual_Build_TFS_R3\Setup.isproj /Build" exited with code 3.
Done executing task "Exec" -- FAILED.
Done building target "AfterCompile" in project "TFSBuild.proj" -- FAILED.
Done Building Project "E:\BuildSource\Temp\BuildType\TFSBuild.proj" (EndToEndIteration target(s)) -- FAILED.
Build FAILED.
"E:\BuildSource\Temp\BuildType\TFSBuild.proj" (EndToEndIteration target) (1) ->
(AfterCompile target) ->
E:\BuildSource\Temp\BuildType\TFSBuild.proj(444,5): error MSB3073: The command ""\Common7\IDE\devenv" E:\Sw\Manual_Build_TFS_R3\Setup.isproj /Build" exited with code 3.
0 Warning(s)
1 Error(s)
我是这个 VSTS 和 TFS 构建配置的新手。
【问题讨论】:
-
谢谢 Jose..糟糕,我有点匆忙地输入了问题。
标签: tfs