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
Repository Revision Date User Message
ASF #378595 Fri Feb 17 19:20:22 UTC 2006 nicko Fix for LOG4NET-58 Support clean build on .NET 2.0.
Updates to work around obsolete warning messages from the MS .NET 2.0 compiler.
Files Changed
MODIFY /logging/log4net/trunk/src/Appender/SmtpAppender.cs
MODIFY /logging/log4net/trunk/log4net.build
MODIFY /logging/log4net/trunk/src/Repository/Hierarchy/XmlHierarchyConfigurator.cs
MODIFY /logging/log4net/trunk/src/Util/LogLog.cs
MODIFY /logging/log4net/trunk/src/Config/XmlConfigurator.cs
MODIFY /logging/log4net/trunk/src/Core/LoggerManager.cs
MODIFY /logging/log4net/trunk/src/Util/SystemInfo.cs
MODIFY /logging/log4net/trunk/tests/src/Layout/XmlLayoutTest.cs
MODIFY /logging/log4net/trunk/src/Appender/EventLogAppender.cs
MODIFY /logging/log4net/trunk/src/Core/DefaultRepositorySelector.cs
MODIFY /logging/log4net/trunk/src/Core/LevelMap.cs
MODIFY /logging/log4net/trunk/tests/src/Appender/RemotingAppenderTest.cs
MODIFY /logging/log4net/trunk/src/Util/TypeConverters/IPAddressConverter.cs

Repository Revision Date User Message
ASF #379423 Tue Feb 21 11:22:18 UTC 2006 nicko Fixed code compatibility issue for .NET 1.1 and .NET 2.0. Related to LOG4NET-58
Files Changed
MODIFY /logging/log4net/trunk/tests/src/Layout/XmlLayoutTest.cs

Repository Revision Date User Message
ASF #379436 Tue Feb 21 12:25:19 UTC 2006 nicko Added nant.build target to compile tests under framework .NET 2.0
Related to LOG4NET-58
Files Changed
MODIFY /logging/log4net/trunk/tests/nant.build