You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by Steve Burkett <St...@intellichem.com> on 2004/10/22 00:23:47 UTC
basic question on building log4net
Hello,
I have a basic question on building log4net. I'm running Win2k, SP2,
.Net 1.1, VS .Net 2003.
I build log4net via:
nant compile-net-1.1 /f:log4net.build
The stdout says it's doing .Net 1.1 but log4net.dll is built to (1.0
directory):
log4net\log4net-1.2.0-beta8\bin\net\1.0\debug
log4net\log4net-1.2.0-beta8\bin\net\1.0\release
(1) How do I get it to build to 1.1 directory?
(2) how do I build just release, or just debug?
Thanks.
RE: basic question on building log4net
Posted by Gert Driesen <ge...@pandora.be>.
> -----Original Message-----
> From: Steve Burkett [mailto:Steve.Burkett@intellichem.com]
> Sent: vrijdag 22 oktober 2004 0:24
> To: Log4NET User
> Subject: basic question on building log4net
>
> Hello,
>
> I have a basic question on building log4net. I'm running Win2k, SP2,
> .Net 1.1, VS .Net 2003.
>
> I build log4net via:
> nant compile-net-1.1 /f:log4net.build
>
> The stdout says it's doing .Net 1.1 but log4net.dll is built to (1.0
> directory):
>
> log4net\log4net-1.2.0-beta8\bin\net\1.0\debug
> log4net\log4net-1.2.0-beta8\bin\net\1.0\release
>
> (1) How do I get it to build to 1.1 directory?
It should indeed work by using the "compile-net-1.1" target, and it is
indeed working just fine here (using latest cvs). What version of Nant are
you using ?
> (2) how do I build just release, or just debug?
IF you build from cvs, then the "compile-net-1.1" target will, by default,
build only the debug config. If you want it to build the release config you
need to set the project.build.config property :
nant -D:project.build.config=release /f:log4net.build
compile-net-1.1
Gert