Index: src/AssemblyInfo.cs =================================================================== --- src/AssemblyInfo.cs (revision 1444408) +++ src/AssemblyInfo.cs (working copy) @@ -37,6 +37,12 @@ // If log4net is strongly named it still allows partially trusted callers // [assembly: System.Security.AllowPartiallyTrustedCallers] + +// +// 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 //