我试图在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但是没有解决这个问题.