diff --git a/Source/Build/Properties/AssemblyInfo.cs b/Source/Build/Properties/AssemblyInfo.cs index ed3ce05b..c80ffa6a 100644 --- a/Source/Build/Properties/AssemblyInfo.cs +++ b/Source/Build/Properties/AssemblyInfo.cs @@ -29,5 +29,9 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("0.9.9.0")] -[assembly: AssemblyFileVersion("0.9.9.0")] +[assembly: AssemblyVersion("0.9.9.2")] +[assembly: AssemblyFileVersion("0.9.9.2")] + +#if SIGN_ASSEMBLY +[assembly: AssemblyKeyFile(@"../../../OpenTK.snk")] +#endif \ No newline at end of file diff --git a/Source/Compatibility/Properties/AssemblyInfo.cs b/Source/Compatibility/Properties/AssemblyInfo.cs index 125b8466..34a44aaf 100644 --- a/Source/Compatibility/Properties/AssemblyInfo.cs +++ b/Source/Compatibility/Properties/AssemblyInfo.cs @@ -1,4 +1,5 @@ -using System.Reflection; +using System; +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -32,4 +33,9 @@ using System.Runtime.InteropServices; [assembly: AssemblyVersion("0.9.9.2")] [assembly: AssemblyFileVersion("0.9.9.2")] -[assembly: System.CLSCompliant(true)] \ No newline at end of file +[assembly: System.CLSCompliant(true)] + +#if SIGN_ASSEMBLY +[assembly: AssemblyKeyFile(@"../../../OpenTK.snk")] +[assembly: System.Security.AllowPartiallyTrustedCallersAttribute] +#endif \ No newline at end of file diff --git a/Source/Examples/Properties/AssemblyInfo.cs b/Source/Examples/Properties/AssemblyInfo.cs index 57309011..7daef776 100644 --- a/Source/Examples/Properties/AssemblyInfo.cs +++ b/Source/Examples/Properties/AssemblyInfo.cs @@ -31,3 +31,5 @@ using System.Runtime.InteropServices; // [assembly: AssemblyVersion("0.9.9.2")] [assembly: AssemblyFileVersion("0.9.9.2")] + +[assembly: AssemblyKeyFile(@"../../../OpenTK.snk")] \ No newline at end of file diff --git a/Source/GLControl/Properties/AssemblyInfo.cs b/Source/GLControl/Properties/AssemblyInfo.cs index 5797537a..e124dddf 100644 --- a/Source/GLControl/Properties/AssemblyInfo.cs +++ b/Source/GLControl/Properties/AssemblyInfo.cs @@ -35,4 +35,9 @@ using System.Runtime.InteropServices; [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: System.CLSCompliant(true)] \ No newline at end of file +[assembly: System.CLSCompliant(true)] + +#if SIGN_ASSEMBLY +[assembly: AssemblyKeyFile(@"../../../OpenTK.snk")] +[assembly: System.Security.AllowPartiallyTrustedCallersAttribute] +#endif \ No newline at end of file diff --git a/Source/OpenTK/Configuration.cs b/Source/OpenTK/Configuration.cs index 1b8ac979..91643887 100644 --- a/Source/OpenTK/Configuration.cs +++ b/Source/OpenTK/Configuration.cs @@ -1,9 +1,28 @@ -#region --- License --- -/* Licensed under the MIT/X11 license. - * Copyright (c) 2006-2008 the OpenTK Team. - * This notice may not be removed from any source distribution. - * See license.txt for licensing detailed licensing details. - */ +#region License +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2009 the Open Toolkit library. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// #endregion using System; @@ -12,9 +31,7 @@ using System.Text; using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; - -[assembly: CLSCompliant(true)] -[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("OpenTK.Utilities")] +using System.Reflection; namespace OpenTK { diff --git a/Source/OpenTK/Properties/AssemblyInfo.cs b/Source/OpenTK/Properties/AssemblyInfo.cs index e84fe1d4..946c1252 100644 --- a/Source/OpenTK/Properties/AssemblyInfo.cs +++ b/Source/OpenTK/Properties/AssemblyInfo.cs @@ -1,3 +1,4 @@ +using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -10,7 +11,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("The Open Toolkit Library")] [assembly: AssemblyProduct("The Open Toolkit Library")] -[assembly: AssemblyCopyright("Copyright © 2006-2009 the Open Toolkit team")] +[assembly: AssemblyCopyright("Copyright © 2006-2009 the Open Toolkit team")] [assembly: AssemblyTrademark("OpenTK")] [assembly: AssemblyCulture("")] @@ -33,3 +34,10 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: [assembly: AssemblyVersion("0.9.9.2")] [assembly: AssemblyFileVersion("0.9.9.2")] + +[assembly: CLSCompliant(true)] + +#if SIGN_ASSEMBLY +[assembly: AssemblyKeyFile(@"../../../OpenTK.snk")] +[assembly: System.Security.AllowPartiallyTrustedCallersAttribute] +#endif \ No newline at end of file