logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpsen...@apache.org
Subject svn commit: r1446054 - /logging/log4net/trunk/src/AssemblyInfo.cs
Date Thu, 14 Feb 2013 07:21:25 GMT
Author: dpsenner
Date: Thu Feb 14 07:21:25 2013
New Revision: 1446054

URL: http://svn.apache.org/r1446054
Log:
LOG4NET-347 fix the AssemblyInfo to allow partial trust applications on .NET 4.0

Modified:
    logging/log4net/trunk/src/AssemblyInfo.cs

Modified: logging/log4net/trunk/src/AssemblyInfo.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/src/AssemblyInfo.cs?rev=1446054&r1=1446053&r2=1446054&view=diff
==============================================================================
--- logging/log4net/trunk/src/AssemblyInfo.cs (original)
+++ logging/log4net/trunk/src/AssemblyInfo.cs Thu Feb 14 07:21:25 2013
@@ -39,6 +39,14 @@ using System.Runtime.CompilerServices;
 [assembly: System.Security.AllowPartiallyTrustedCallers]
 #endif
 
+#if (NET_4_0)
+//
+// Allows partial trust applications (e.g. ASP.NET shared hosting) on .NET 4.0 to work
+// given our implementation of ISerializable.
+//
+[assembly: System.Security.SecurityRules(System.Security.SecurityRuleSet.Level1)]
+#endif
+
 //
 // General Information about an assembly is controlled through the following 
 // set of attributes. Change these attribute values to modify the information



Mime
View raw message