mam*_*mcx 14 delphi msbuild build-process delphi-2009
我正在尝试在Delphi 2009中自动构建项目.
我正在使用带有.net 3.5的msbuild
我只是打电话给:
Z:\Server>C:\WINDOWS\Microsoft.NET\Framework\v3.5\msbuild "BestSellerAppServer.g
roupproj" /target:Build
得到这个:
Build started 27/08/2009 01:15:45 p.m..
Project "Z:\Server\BestSellerAppServer.groupproj" on node 0 (Build target(s)).
Project "Z:\Server\BestSellerAppServer.groupproj" (1) is building "Z:\Server\Be
stSellerAppServer.dproj" (2) on node 0 (default targets).
Z:\Server\BestSellerAppServer.dproj : error MSB4040: There is no target in the
project.
Done Building Project "Z:\Server\BestSellerAppServer.dproj" (default targets) -
- FAILED.
Done Building Project "Z:\Server\BestSellerAppServer.groupproj" (Build target(s
)) -- FAILED.
Build FAILED.
"Z:\Server\BestSellerAppServer.groupproj" (Build target) (1) ->
"Z:\Server\BestSellerAppServer.dproj" (default target) (2) ->
  Z:\Server\BestSellerAppServer.dproj : error MSB4040: There is no target in th
e project.
    0 Warning(s)
    1 Error(s)
Time Elapsed 00:00:00.06
我在IDE中编译得很好.
我发现这个http://huwk.blogspot.com/2009/02/msbuild-fails-to-compile-delphi-2009.html但没有解决问题.
Ste*_*eve 18
有一个名为rsvars.bat的批处理文件(在RAD Studio文件夹中搜索它).在调用MSBuild之前调用它,它将设置必要的环境变量.如果编译器位于默认位置的其他位置,请确保rsvars.bat中的文件夹正确.
| 归档时间: | 
 | 
| 查看次数: | 6750 次 | 
| 最近记录: |