我正在使用Installshield和TFS(VSTS 2008),现在我想构建Installshield 2011项目以及构建定义。使用TFS构建Installshield项目build
为此我创建了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"/>
早些时候,我在DevEnvDir的。安迪已经使用VSINSTALLDIR仍然错误会来这说
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.Oops我有点匆忙地输入了问题。 – Chetan 2010-12-09 11:53:07