Index: src/log4Net.vs2010-ClientProfile.sln
===================================================================
--- src/log4Net.vs2010-ClientProfile.sln (revision 0)
+++ src/log4Net.vs2010-ClientProfile.sln (revision 0)
@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "log4Net.vs2010-ClientProfile", "log4Net.vs2010-ClientProfile.csproj", "{FA7E1706-325F-488F-952E-DA5964100F82}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|x86 = Debug|x86
+ Release|x86 = Release|x86
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {FA7E1706-325F-488F-952E-DA5964100F82}.Debug|x86.ActiveCfg = Debug|x86
+ {FA7E1706-325F-488F-952E-DA5964100F82}.Debug|x86.Build.0 = Debug|x86
+ {FA7E1706-325F-488F-952E-DA5964100F82}.Release|x86.ActiveCfg = Release|x86
+ {FA7E1706-325F-488F-952E-DA5964100F82}.Release|x86.Build.0 = Release|x86
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
Index: src/log4Net.vs2010-ClientProfile.csproj
===================================================================
--- src/log4Net.vs2010-ClientProfile.csproj (revision 0)
+++ src/log4Net.vs2010-ClientProfile.csproj (revision 0)
@@ -0,0 +1,316 @@
+
+
+
+ Debug
+ x86
+ 8.0.30703
+ 2.0
+ {FA7E1706-325F-488F-952E-DA5964100F82}
+ Library
+ Properties
+ log4net
+ log4net
+ v4.0
+ Client
+ 512
+
+
+ x86
+ true
+ full
+ false
+ bin\Debug\
+ TRACE;DEBUG;CLIENT_PROFILE
+ prompt
+ 4
+
+
+ x86
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: src/log4Net.vs2010.csproj
===================================================================
--- src/log4Net.vs2010.csproj (revision 0)
+++ src/log4Net.vs2010.csproj (revision 0)
@@ -0,0 +1,318 @@
+
+
+
+ Debug
+ x86
+ 8.0.30703
+ 2.0
+ {FA7E1706-325F-488F-952E-DA5964100F82}
+ Library
+ Properties
+ log4net
+ log4net
+ v4.0
+
+
+ 512
+
+
+ x86
+ true
+ full
+ false
+ bin\Debug\
+ TRACE;DEBUG
+ prompt
+ 4
+
+
+ x86
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: src/Util/TypeConverters/IPAddressConverter.cs
===================================================================
--- src/Util/TypeConverters/IPAddressConverter.cs (revision 1144682)
+++ src/Util/TypeConverters/IPAddressConverter.cs (working copy)
@@ -116,7 +116,7 @@
}
// Try to resolve via DNS. This is a blocking call.
- IPHostEntry host = Dns.GetHostByName(str);
+ IPHostEntry host = Dns.GetHostEntry(str);
if (host != null &&
host.AddressList != null &&
host.AddressList.Length > 0 &&
Index: src/Appender/AspNetTraceAppender.cs
===================================================================
--- src/Appender/AspNetTraceAppender.cs (revision 1144682)
+++ src/Appender/AspNetTraceAppender.cs (working copy)
@@ -19,7 +19,7 @@
// .NET Compact Framework 1.0 has no support for ASP.NET
// SSCLI 1.0 has no support for ASP.NET
-#if !NETCF && !SSCLI
+#if !NETCF && !SSCLI && !CLIENT_PROFILE
using System.Web;
@@ -55,7 +55,7 @@
/// Ron Grabowski
public class AspNetTraceAppender : AppenderSkeleton
{
- #region Public Instances Constructors
+#region Public Instances Constructors
///
/// Initializes a new instance of the class.
@@ -69,9 +69,9 @@
{
}
- #endregion // Public Instances Constructors
+ #endregion // Public Instances Constructors
- #region Override implementation of AppenderSkeleton
+#region Override implementation of AppenderSkeleton
///
/// Write the logging event to the ASP.NET trace
@@ -118,9 +118,9 @@
get { return true; }
}
- #endregion // Override implementation of AppenderSkeleton
+ #endregion // Override implementation of AppenderSkeleton
- #region Public Instance Properties
+#region Public Instance Properties
///
/// The category parameter sent to the Trace method.
@@ -139,16 +139,16 @@
set { m_category = value; }
}
- #endregion
+ #endregion
- #region Private Instance Fields
+#region Private Instance Fields
///
/// Defaults to %logger
///
private PatternLayout m_category = new PatternLayout("%logger");
- #endregion
+ #endregion
}
}
Index: src/Appender/SmtpAppender.cs
===================================================================
--- src/Appender/SmtpAppender.cs (revision 1144682)
+++ src/Appender/SmtpAppender.cs (working copy)
@@ -19,7 +19,7 @@
// .NET Compact Framework 1.0 has no support for System.Web.Mail
// SSCLI 1.0 has no support for System.Web.Mail
-#if !NETCF && !SSCLI
+#if !NETCF && !SSCLI && !CLIENT_PROFILE
using System;
using System.IO;
@@ -70,7 +70,7 @@
/// Gert Driesen
public class SmtpAppender : BufferingAppenderSkeleton
{
- #region Public Instance Constructors
+#region Public Instance Constructors
///
/// Default constructor
@@ -84,9 +84,9 @@
{
}
- #endregion // Public Instance Constructors
+ #endregion // Public Instance Constructors
- #region Public Instance Properties
+#region Public Instance Properties
///
/// Gets or sets a semicolon-delimited list of recipient e-mail addresses.
@@ -349,9 +349,9 @@
}
#endif
- #endregion // Public Instance Properties
+ #endregion // Public Instance Properties
- #region Override implementation of BufferingAppenderSkeleton
+#region Override implementation of BufferingAppenderSkeleton
///
/// Sends the contents of the cyclic buffer as an e-mail message.
@@ -391,9 +391,9 @@
}
}
- #endregion // Override implementation of BufferingAppenderSkeleton
+ #endregion // Override implementation of BufferingAppenderSkeleton
- #region Override implementation of AppenderSkeleton
+#region Override implementation of AppenderSkeleton
///
/// This appender requires a to be set.
@@ -409,9 +409,9 @@
get { return true; }
}
- #endregion // Override implementation of AppenderSkeleton
+ #endregion // Override implementation of AppenderSkeleton
- #region Protected Methods
+#region Protected Methods
///
/// Send the email message
@@ -544,9 +544,9 @@
#endif // if NET_2_0
}
- #endregion // Protected Methods
+ #endregion // Protected Methods
- #region Private Instance Fields
+#region Private Instance Fields
private string m_to;
private string m_cc;
@@ -570,9 +570,9 @@
private string m_replyTo;
#endif
- #endregion // Private Instance Fields
+ #endregion // Private Instance Fields
- #region SmtpAuthentication Enum
+#region SmtpAuthentication Enum
///
/// Values for the property.
@@ -606,7 +606,7 @@
Ntlm
}
- #endregion // SmtpAuthentication Enum
+ #endregion // SmtpAuthentication Enum
}
}
Index: src/log4Net.vs2010.sln
===================================================================
--- src/log4Net.vs2010.sln (revision 0)
+++ src/log4Net.vs2010.sln (revision 0)
@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "log4Net.vs2010", "log4Net.vs2010.csproj", "{FA7E1706-325F-488F-952E-DA5964100F82}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|x86 = Debug|x86
+ Release|x86 = Release|x86
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {FA7E1706-325F-488F-952E-DA5964100F82}.Debug|x86.ActiveCfg = Debug|x86
+ {FA7E1706-325F-488F-952E-DA5964100F82}.Debug|x86.Build.0 = Debug|x86
+ {FA7E1706-325F-488F-952E-DA5964100F82}.Release|x86.ActiveCfg = Release|x86
+ {FA7E1706-325F-488F-952E-DA5964100F82}.Release|x86.Build.0 = Release|x86
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
Index: src/Layout/PatternLayout.cs
===================================================================
--- src/Layout/PatternLayout.cs (revision 1144682)
+++ src/Layout/PatternLayout.cs (working copy)
@@ -815,15 +815,15 @@
s_globalRulesRegistry.Add("n", typeof(NewLinePatternConverter));
// .NET Compact Framework 1.0 has no support for ASP.NET
-// SSCLI 1.0 has no support for ASP.NET
-#if !NETCF && !SSCLI
+ // SSCLI 1.0 has no support for ASP.NET
+#if !NETCF && !SSCLI && !CLIENT_PROFILE
s_globalRulesRegistry.Add("aspnet-cache", typeof(AspNetCachePatternConverter));
s_globalRulesRegistry.Add("aspnet-context", typeof(AspNetContextPatternConverter));
s_globalRulesRegistry.Add("aspnet-request", typeof(AspNetRequestPatternConverter));
s_globalRulesRegistry.Add("aspnet-session", typeof(AspNetSessionPatternConverter));
#endif
- s_globalRulesRegistry.Add("c", typeof(LoggerPatternConverter));
+ s_globalRulesRegistry.Add("c", typeof(LoggerPatternConverter));
s_globalRulesRegistry.Add("logger", typeof(LoggerPatternConverter));
s_globalRulesRegistry.Add("C", typeof(TypeNamePatternConverter));
Index: src/Layout/Pattern/AspNetPatternConverter.cs
===================================================================
--- src/Layout/Pattern/AspNetPatternConverter.cs (revision 1144682)
+++ src/Layout/Pattern/AspNetPatternConverter.cs (working copy)
@@ -19,7 +19,7 @@
// .NET Compact Framework 1.0 has no support for ASP.NET
// SSCLI 1.0 has no support for ASP.NET
-#if !NETCF && !SSCLI
+#if !NETCF && !SSCLI && !CLIENT_PROFILE
using System.IO;
using System.Web;
Index: src/Layout/Pattern/AspNetSessionPatternConverter.cs
===================================================================
--- src/Layout/Pattern/AspNetSessionPatternConverter.cs (revision 1144682)
+++ src/Layout/Pattern/AspNetSessionPatternConverter.cs (working copy)
@@ -19,7 +19,7 @@
// .NET Compact Framework 1.0 has no support for ASP.NET
// SSCLI 1.0 has no support for ASP.NET
-#if !NETCF && !SSCLI
+#if !NETCF && !SSCLI && !CLIENT_PROFILE
using System.IO;
using System.Web;
Index: src/Layout/Pattern/AspNetContextPatternConverter.cs
===================================================================
--- src/Layout/Pattern/AspNetContextPatternConverter.cs (revision 1144682)
+++ src/Layout/Pattern/AspNetContextPatternConverter.cs (working copy)
@@ -19,7 +19,7 @@
// .NET Compact Framework 1.0 has no support for ASP.NET
// SSCLI 1.0 has no support for ASP.NET
-#if !NETCF && !SSCLI
+#if !NETCF && !SSCLI && !CLIENT_PROFILE
using System.IO;
using System.Web;
Index: src/Layout/Pattern/AspNetRequestPatternConverter.cs
===================================================================
--- src/Layout/Pattern/AspNetRequestPatternConverter.cs (revision 1144682)
+++ src/Layout/Pattern/AspNetRequestPatternConverter.cs (working copy)
@@ -19,7 +19,7 @@
// .NET Compact Framework 1.0 has no support for ASP.NET
// SSCLI 1.0 has no support for ASP.NET
-#if !NETCF && !SSCLI
+#if !NETCF && !SSCLI && !CLIENT_PROFILE
using System.IO;
using System.Web;
Index: src/Layout/Pattern/AspNetCachePatternConverter.cs
===================================================================
--- src/Layout/Pattern/AspNetCachePatternConverter.cs (revision 1144682)
+++ src/Layout/Pattern/AspNetCachePatternConverter.cs (working copy)
@@ -19,7 +19,7 @@
// .NET Compact Framework 1.0 has no support for ASP.NET
// SSCLI 1.0 has no support for ASP.NET
-#if !NETCF && !SSCLI
+#if !NETCF && !SSCLI && !CLIENT_PROFILE
using System.IO;
using System.Web;