Issue Details (XML | Word | Printable)

Key: LOG4NET-58
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Nicko Cadell
Reporter: James Rosenfeld
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Log4net

Support clean build on .NET 2.0

Created: 15/Nov/05 03:13 PM   Updated: 21/Feb/06 02:09 PM
Return to search
Component/s: Appenders, Builds, Core
Affects Version/s: 1.2.9
Fix Version/s: 1.2.10

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works log4net-fx-2.0.patch 2005-11-15 03:16 PM James Rosenfeld 14 kB
Text File Licensed for inclusion in ASF works log4net.2005.csproj 2005-11-15 03:16 PM James Rosenfeld 24 kB
Text File Licensed for inclusion in ASF works log4net.2005.sln 2005-11-15 03:16 PM James Rosenfeld 1 kB
Text File Licensed for inclusion in ASF works log4net.Tests.2005.csproj 2005-11-15 03:16 PM James Rosenfeld 6 kB
Environment: Tested on .NET 2.0 RTM (v2.0.50727) with Visual Studio 2005 RTM

Resolution Date: 18/Feb/06 04:21 AM


 Description  « Hide
Updates to the source that allow building under .NET 2.0 RTM with no source code related warnings. Warnings that do appear are related to xml documentation, and a deprecated nant method call. Updates are commented as appropriate to indicate the compiler warning resolved.

I updated the nant build file to include a new reference needed for 2.0 but since nant (as of 0.85 rc3) doesn't recognize the new framework yet I was unable to test building using the nant build. Visual Studio 2005 solution/project files are attached.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
James Rosenfeld added a comment - 15/Nov/05 03:21 PM
I noticed that every time I update the issue the list gets spammed - sorry about that.

Gert Driesen added a comment - 15/Nov/05 04:40 PM
Recent nightly builds of NAnt (http://nant.sourceforge.net/nightly/latest) do support .NET 2.0 RTM.

I'll also be working on getting log4net built on .NET 2.0 RTM (without warnings) and Mono (1.0 / 2.0 profile).

James Rosenfeld added a comment - 15/Nov/05 04:54 PM
Got the latest nightly build of nant and ran it against my working copy of log4net under 2.0. It will compile and build successfully if warnings as errors are disabled - as I mentioned above, there are still a lot of warnings related to xml doc comments.

Nicko Cadell added a comment - 18/Feb/06 04:21 AM
I have checked in a code change that resolves the obsolete warning messages from the .NET 2.0 compiler.

Ron Grabowski added a comment - 21/Feb/06 02:09 PM
Lines 61 and 68 of XmlLayoutTest.cs do not compile with VS2003.