aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcsharptest <roger@csharptest.net>2015-02-07 15:31:14 -0600
committerrogerk <devnull@localhost>2015-02-07 15:31:14 -0600
commit569212f38b3a14db1d417b70a4b6c2933a47bf85 (patch)
tree850089b0eef682674b158ea0aecc7e5306c8768e
parentb0c94cd21c9042d51c29a089d48f00aa17f9d37d (diff)
downloadprotobuf-569212f38b3a14db1d417b70a4b6c2933a47bf85.tar.gz
protobuf-569212f38b3a14db1d417b70a4b6c2933a47bf85.tar.bz2
protobuf-569212f38b3a14db1d417b70a4b6c2933a47bf85.zip
Fix build error for missing assembly attribute AllowPartiallyTrustedCallers
-rw-r--r--src/ProtocolBuffers/Properties/AssemblyInfo.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ProtocolBuffers/Properties/AssemblyInfo.cs b/src/ProtocolBuffers/Properties/AssemblyInfo.cs
index 23a61419..b6c12412 100644
--- a/src/ProtocolBuffers/Properties/AssemblyInfo.cs
+++ b/src/ProtocolBuffers/Properties/AssemblyInfo.cs
@@ -1,4 +1,4 @@
-// Protocol Buffers - Google's data interchange format
+// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// http://github.com/jskeet/dotnet-protobufs/
// Original C++/Java/Python code:
@@ -66,4 +66,7 @@ using System.Security;
#endif
[assembly: CLSCompliant(true)]
-[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file
+
+#if CLIENTPROFILE // ROK - not defined in SL, CF, or PL
+[assembly: AllowPartiallyTrustedCallers]
+#endif