我正在使用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