🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.commandlinetools
2 messages
2 total messages Started by huwk Mon, 09 Feb 2009 02:05
msbuild fails to compile project (delphi 2009)
#198
Author: huwk
Date: Mon, 09 Feb 2009 02:05
27 lines
2091 bytes
I have problem compiling a project from command line using msbuild.
how can i solve it??



D:\Test>msbuild Test.dproj
Microsoft (R) Build Engine Version 2.0.50727.3053
[Microsoft .NET Framework, Version 2.0.50727.3082]
Copyright (C) Microsoft Corporation 2005. All rights reserved.

已經開始建置於 2009/2/9 上午 10:00:00。
__________________________________________________
專案 "D:\Test\Test.dproj" (預設目標):

D:\Test\Test.dproj : error MSB4040: 專案中沒有目標。  ( There is no target in
the project.)

專案 "Test.dproj" 建置完成 -- 失敗。 (fail)

建置失敗。
D:\Test\Test.dproj : error MSB4040: 專案中沒有目標。
    0 個警告
    1 個錯誤  (one error)

經過時間 00:00:00
Re: msbuild fails to compile project (delphi 2009)
#199
Author: huwk
Date: Tue, 10 Feb 2009 06:54
32 lines
2454 bytes
On 2月9日, 上午10時05分, huwk <bertc...@gmail.com> wrote:
> I have problem compiling a project from command line using msbuild.
> how can i solve it??
>
> D:\Test>msbuild Test.dproj
> Microsoft (R) Build Engine Version 2.0.50727.3053
> [Microsoft .NET Framework, Version 2.0.50727.3082]
> Copyright (C) Microsoft Corporation 2005. All rights reserved.
>
> 已經開始建置於 2009/2/9 上午 10:00:00。
> __________________________________________________
> 專案 "D:\Test\Test.dproj" (預設目標):
>
> D:\Test\Test.dproj : error MSB4040: 專案中沒有目標。  ( There is no target in
> the project.)
>
> 專案 "Test.dproj" 建置完成 -- 失敗。 (fail)
>
> 建置失敗。
> D:\Test\Test.dproj : error MSB4040: 專案中沒有目標。
>     0 個警告
>     1 個錯誤  (one error)
>
> 經過時間 00:00:00

I found the problem!
Set BDS before call msbuild!
http://huwk.blogspot.com/2009/02/msbuild-fails-to-compile-delphi-2009.html#links
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads