From 14a59a5ab8e3092944e173807db1bdc912a8fc2c Mon Sep 17 00:00:00 2001 From: Andre Rodrigues Date: Wed, 3 Nov 2010 14:25:03 -0700 Subject: [PATCH] Medium Trust: Making Orchard assemblies allow partially trusted callers. --HG-- branch : dev --- src/Orchard.Web/Core/Properties/AssemblyInfo.cs | 2 ++ src/Orchard.Web/Modules/Lucene/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.ArchiveLater/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.Blogs/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.CodeGeneration/Properties/AssemblyInfo.cs | 2 ++ .../Modules/Orchard.Comments/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.ContentQueries/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.ContentTypes/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.Email/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.Experimental/Properties/AssemblyInfo.cs | 2 ++ .../Modules/Orchard.Indexing/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.Media/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.Migrations/Properties/AssemblyInfo.cs | 2 ++ .../Modules/Orchard.Modules/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.MultiTenancy/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.Packaging/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.PublishLater/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.Roles/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.Search/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.Setup/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.Tags/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.Themes/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.Users/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.Widgets/Properties/AssemblyInfo.cs | 3 ++- .../Modules/Orchard.jQuery/Properties/AssemblyInfo.cs | 3 ++- src/Orchard.Web/Modules/TinyMce/Properties/AssemblyInfo.cs | 3 ++- src/Orchard/Properties/AssemblyInfo.cs | 2 ++ 27 files changed, 54 insertions(+), 22 deletions(-) diff --git a/src/Orchard.Web/Core/Properties/AssemblyInfo.cs b/src/Orchard.Web/Core/Properties/AssemblyInfo.cs index eb777cf74..2937f6632 100644 --- a/src/Orchard.Web/Core/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Core/Properties/AssemblyInfo.cs @@ -1,5 +1,6 @@ using System.Reflection; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -32,3 +33,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Lucene/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Lucene/Properties/AssemblyInfo.cs index 5af5bac30..9425ade45 100644 --- a/src/Orchard.Web/Modules/Lucene/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Lucene/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -33,3 +33,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.ArchiveLater/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.ArchiveLater/Properties/AssemblyInfo.cs index 1e0ce5358..1bd8d172b 100644 --- a/src/Orchard.Web/Modules/Orchard.ArchiveLater/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.ArchiveLater/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -32,3 +32,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Blogs/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.Blogs/Properties/AssemblyInfo.cs index 5f140ddc6..ac999fbe5 100644 --- a/src/Orchard.Web/Modules/Orchard.Blogs/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.Blogs/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -32,3 +32,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.CodeGeneration/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.CodeGeneration/Properties/AssemblyInfo.cs index ddc667043..319d4adbe 100644 --- a/src/Orchard.Web/Modules/Orchard.CodeGeneration/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.CodeGeneration/Properties/AssemblyInfo.cs @@ -1,5 +1,6 @@ using System.Reflection; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -31,3 +32,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Comments/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.Comments/Properties/AssemblyInfo.cs index 3ae54cf29..c6daeb25a 100644 --- a/src/Orchard.Web/Modules/Orchard.Comments/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.Comments/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -32,3 +32,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.ContentQueries/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.ContentQueries/Properties/AssemblyInfo.cs index 471617b95..a4b31650f 100644 --- a/src/Orchard.Web/Modules/Orchard.ContentQueries/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.ContentQueries/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -33,3 +33,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.ContentTypes/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.ContentTypes/Properties/AssemblyInfo.cs index 2b4b7e096..c33688556 100644 --- a/src/Orchard.Web/Modules/Orchard.ContentTypes/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.ContentTypes/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -33,3 +33,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Email/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.Email/Properties/AssemblyInfo.cs index b48379f8b..d0346bf5b 100644 --- a/src/Orchard.Web/Modules/Orchard.Email/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.Email/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -33,3 +33,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Experimental/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.Experimental/Properties/AssemblyInfo.cs index b0ae30acd..873d99115 100644 --- a/src/Orchard.Web/Modules/Orchard.Experimental/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.Experimental/Properties/AssemblyInfo.cs @@ -1,5 +1,6 @@ using System.Reflection; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -31,3 +32,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Indexing/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.Indexing/Properties/AssemblyInfo.cs index daa289363..9aa839895 100644 --- a/src/Orchard.Web/Modules/Orchard.Indexing/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.Indexing/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -33,3 +33,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Media/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.Media/Properties/AssemblyInfo.cs index 2314c99da..6a7b5cd32 100644 --- a/src/Orchard.Web/Modules/Orchard.Media/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.Media/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -32,3 +32,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Migrations/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.Migrations/Properties/AssemblyInfo.cs index 1cfd7a737..aa788dfbc 100644 --- a/src/Orchard.Web/Modules/Orchard.Migrations/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.Migrations/Properties/AssemblyInfo.cs @@ -1,5 +1,6 @@ using System.Reflection; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -31,3 +32,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Modules/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.Modules/Properties/AssemblyInfo.cs index f5b176449..47871c315 100644 --- a/src/Orchard.Web/Modules/Orchard.Modules/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.Modules/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -33,3 +33,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.MultiTenancy/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.MultiTenancy/Properties/AssemblyInfo.cs index e765122d6..3f010ef08 100644 --- a/src/Orchard.Web/Modules/Orchard.MultiTenancy/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.MultiTenancy/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -33,3 +33,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Packaging/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.Packaging/Properties/AssemblyInfo.cs index e24e79e36..9cfc56b85 100644 --- a/src/Orchard.Web/Modules/Orchard.Packaging/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.Packaging/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -33,3 +33,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.PublishLater/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.PublishLater/Properties/AssemblyInfo.cs index 531664349..4491bed4e 100644 --- a/src/Orchard.Web/Modules/Orchard.PublishLater/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.PublishLater/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -32,3 +32,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Roles/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.Roles/Properties/AssemblyInfo.cs index e1e17339b..01e75e4c3 100644 --- a/src/Orchard.Web/Modules/Orchard.Roles/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.Roles/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -32,3 +32,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Search/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.Search/Properties/AssemblyInfo.cs index e4b0d50e5..c9244f7f0 100644 --- a/src/Orchard.Web/Modules/Orchard.Search/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.Search/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -33,3 +33,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Setup/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.Setup/Properties/AssemblyInfo.cs index f39f1a3db..03a777491 100644 --- a/src/Orchard.Web/Modules/Orchard.Setup/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.Setup/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -32,3 +32,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Tags/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.Tags/Properties/AssemblyInfo.cs index 0ca276fea..3faa38efa 100644 --- a/src/Orchard.Web/Modules/Orchard.Tags/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.Tags/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -32,3 +32,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Themes/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.Themes/Properties/AssemblyInfo.cs index 1dc21ff48..62387df82 100644 --- a/src/Orchard.Web/Modules/Orchard.Themes/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.Themes/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -33,3 +33,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Users/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.Users/Properties/AssemblyInfo.cs index edde31805..05453cd5e 100644 --- a/src/Orchard.Web/Modules/Orchard.Users/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.Users/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -32,3 +32,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Widgets/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.Widgets/Properties/AssemblyInfo.cs index e7acd5ecd..fe44619b7 100644 --- a/src/Orchard.Web/Modules/Orchard.Widgets/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.Widgets/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -33,3 +33,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.jQuery/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/Orchard.jQuery/Properties/AssemblyInfo.cs index 75fe195e2..72064cc50 100644 --- a/src/Orchard.Web/Modules/Orchard.jQuery/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/Orchard.jQuery/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -32,3 +32,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard.Web/Modules/TinyMce/Properties/AssemblyInfo.cs b/src/Orchard.Web/Modules/TinyMce/Properties/AssemblyInfo.cs index 78f8be6f3..27974ab01 100644 --- a/src/Orchard.Web/Modules/TinyMce/Properties/AssemblyInfo.cs +++ b/src/Orchard.Web/Modules/TinyMce/Properties/AssemblyInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -32,3 +32,4 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file diff --git a/src/Orchard/Properties/AssemblyInfo.cs b/src/Orchard/Properties/AssemblyInfo.cs index d576845a5..988892152 100644 --- a/src/Orchard/Properties/AssemblyInfo.cs +++ b/src/Orchard/Properties/AssemblyInfo.cs @@ -1,5 +1,6 @@ using System.Reflection; using System.Runtime.InteropServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -36,3 +37,4 @@ using System.Runtime.InteropServices; [assembly: AssemblyVersion("0.8.0")] [assembly: AssemblyFileVersion("0.8.0")] +[assembly: AllowPartiallyTrustedCallers] \ No newline at end of file