File tree Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 7373[ assembly: AssemblyInformationalVersionAttribute ( "2.0.9.0-.NET 4.0" ) ]
7474[ assembly: AssemblyTitle ( "Apache log4net for .NET Framework 4.0" ) ]
7575#endif // Client Profile
76- #elif ( NET_2_0 )
76+ #elif ( NET_3_5 )
7777#if CLIENT_PROFILE
7878[ assembly: AssemblyInformationalVersionAttribute ( "2.0.9.0-.NET 3.5 CP" ) ]
7979[ assembly: AssemblyTitle ( "Apache log4net for .NET Framework 3.5 Client Profile" ) ]
8080#else
81+ [ assembly: AssemblyInformationalVersionAttribute ( "2.0.9.0-.NET 3.5" ) ]
82+ [ assembly: AssemblyTitle ( "Apache log4net for .NET Framework 3.5" ) ]
83+ #endif // Client Profile
84+ #elif ( NET_2_0 )
8185[ assembly: AssemblyInformationalVersionAttribute ( "2.0.9.0-.NET 2.0" ) ]
8286[ assembly: AssemblyTitle ( "Apache log4net for .NET Framework 2.0" ) ]
83- #endif // Client Profile
8487#elif ( NETCF_1_0 )
8588[ assembly: AssemblyInformationalVersionAttribute ( "2.0.9.0-.NETCF 1.0" ) ]
8689[ assembly: AssemblyTitle ( "Apache log4net for .NET Compact Framework 1.0" ) ]
Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ [Flags] public enum FixFlags
324324 [ Serializable ]
325325#endif
326326 public class LoggingEvent
327- #if ! NETCF && NET_2_0
327+ #if ! NETCF
328328 : ISerializable
329329#endif
330330 {
Original file line number Diff line number Diff line change @@ -35,10 +35,11 @@ namespace log4net.Util
3535 /// </remarks>
3636 /// <author>Nicko Cadell</author>
3737 /// <author>Gert Driesen</author>
38- #if NETCF || CLIENT_PROFILE
38+ #if NETCF
3939 public sealed class PropertiesDictionary : ReadOnlyPropertiesDictionary , IDictionary
4040#else
41- [ Serializable ] public sealed class PropertiesDictionary : ReadOnlyPropertiesDictionary , ISerializable , IDictionary
41+ [ Serializable ]
42+ public sealed class PropertiesDictionary : ReadOnlyPropertiesDictionary , ISerializable , IDictionary
4243#endif
4344 {
4445 #region Public Instance Constructors
@@ -72,7 +73,7 @@ public PropertiesDictionary(ReadOnlyPropertiesDictionary propertiesDictionary) :
7273
7374 #region Private Instance Constructors
7475
75- #if ! ( NETCF || CLIENT_PROFILE )
76+ #if ! NETCF
7677 /// <summary>
7778 /// Initializes a new instance of the <see cref="PropertiesDictionary" /> class
7879 /// with serialized data.
Original file line number Diff line number Diff line change 6969 <TargetFrameworkVersion >v3.5</TargetFrameworkVersion >
7070 <TargetFrameworkProfile >Client</TargetFrameworkProfile >
7171 <OutDir >..\..\build\$(Configuration)\net35-client</OutDir >
72- <DefineConstants >$(DefineConstants);NET_2_0;CLIENT_PROFILE</DefineConstants >
72+ <DefineConstants >$(DefineConstants);NET_2_0;NET_3_5; CLIENT_PROFILE</DefineConstants >
7373 </PropertyGroup >
7474 <PropertyGroup Condition =" '$(TargetFramework)'=='net40-client'" >
7575 <TargetFrameworkIdentifier >.NETFramework</TargetFrameworkIdentifier >
76- <TargetFrameworkVersion >v3.5 </TargetFrameworkVersion >
76+ <TargetFrameworkVersion >v4.0 </TargetFrameworkVersion >
7777 <TargetFrameworkProfile >Client</TargetFrameworkProfile >
7878 <OutDir >..\..\build\$(Configuration)\net40-client</OutDir >
79- <DefineConstants >$(DefineConstants);NET_2_0;CLIENT_PROFILE</DefineConstants >
79+ <DefineConstants >$(DefineConstants);NET_2_0;NET_4_0; CLIENT_PROFILE</DefineConstants >
8080 </PropertyGroup >
8181 <PropertyGroup Condition =" '$(TargetFramework)'=='netstandard1.3'" >
8282 <DefineConstants >$(DefineConstants);NETSTANDARD;NETSTANDARD1_3</DefineConstants >
You can’t perform that action at this time.
0 commit comments