Just to provide more details on my log4net build issue, per http://logging.apache.org/log4net/release/building.html, I tried using the following command line:
nant -buildfile:log4net.build compile-all I also tried build.cmd compile-all Both gave the same result: C:\Documents and Settings\mbaker\My Documents\GridProject\log4net-1.2.10>nant -buildfile:log4net.build compile-all NAnt 0.86 (Build 0.86.2898.0; beta1; 12/8/2007) Copyright (C) 2001-2007 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/Documents and Settings/mbaker/My Documents/GridProject/log4net-1.2.10/log4net.build Target framework: Microsoft .NET Framework 3.5 Target(s) specified: compile-all check-current-build-config: set-build-configuration: set-debug-build-configuration: check-current-build-config: set-build-configuration-flags: check-current-build-config: set-framework-configuration: BUILD FAILED C:\Documents and Settings\mbaker\My Documents\GridProject\log4net-1.2.10\log4net.include(188,14): The current target framework (Microsoft .NET Framework 3.5) is not supported by log4net. Total time: 0.2 seconds. I tried Ron's suggestion of just loading the assemblies, and that worked, thank you! -Mike ________________________________ From: Paul Hatcher [mailto:[EMAIL PROTECTED] Sent: Thursday, February 07, 2008 2:24 AM To: 'Log4NET User' Subject: RE: The current target framework (Microsoft .NET Framework 3.5) is not supported by log4net There is - have a look on the JetBrain web site Paul ________________________________ From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: 07 February 2008 06:19 To: Log4NET User Subject: Re: The current target framework (Microsoft .NET Framework 3.5) is not supported by log4net You shouldn't need to re-compile log4net as .NET 3.5 is able to load assemblies from previous versions of the Framework. You should be able to configure VS2008 to open the project in 2.0 mode and compile it that way. Can you build using the build scripts? I won't be installing VS2008 until there's a version of ReSharper for it :-/ ----- Original Message ---- From: Mike Baker <[EMAIL PROTECTED]> To: [email protected] Sent: Wednesday, February 6, 2008 10:07:28 PM Subject: The current target framework (Microsoft .NET Framework 3.5) is not supported by log4net I have recently installed Visual Studio 2008 which uses Microsoft .NET Framework 3.5. When I tried to build log4net, I got the message "The current target framework (Microsoft .NET Framework 3.5) is not supported by log4net." Is there a workaround? If not, when will 3.5 be supported by log4net? Thanks, -Mike
