#if !PLATFORM_COMPACTFRAMEWORK
[assembly: AllowPartiallyTrustedCallers]
[assembly: ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
-[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
+ #if NET_4_0
+ [assembly: SecurityRules(SecurityRuleSet.Level1)]
+ #else
+ [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
+ #endif
#endif
// Version information for an assembly consists of the following four values:
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
-#if !MONOTOUCH
+#if !MOBILE
#if NET_4_0
[assembly: AssemblyVersion("4.0.0.0")]
#else // NET_4_0
[assembly: AssemblyVersion("2.0.0.0")]
#endif // NET_4_0
-#else // !MONOTOUCH
+#else
[assembly: AssemblyVersion(Consts.FxVersion)]
-#endif // !MONOTOUCH
+#endif
#if !PLATFORM_COMPACTFRAMEWORK
[assembly: AssemblyFileVersion("1.0.61.0")]
#endif