From 569212f38b3a14db1d417b70a4b6c2933a47bf85 Mon Sep 17 00:00:00 2001 From: csharptest Date: Sat, 7 Feb 2015 15:31:14 -0600 Subject: [PATCH] Fix build error for missing assembly attribute AllowPartiallyTrustedCallers --- src/ProtocolBuffers/Properties/AssemblyInfo.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/ProtocolBuffers/Properties/AssemblyInfo.cs b/src/ProtocolBuffers/Properties/AssemblyInfo.cs index 23a6141985..b6c1241225 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