* Source/Build/Properties/AssemblyInfo.cs:

* Source/OpenTK/Properties/AssemblyInfo.cs:
* Source/Examples/Properties/AssemblyInfo.cs:
* Source/GLControl/Properties/AssemblyInfo.cs:
* Source/Compatibility/Properties/AssemblyInfo.cs: Added
  AssemblyKeyFile and AllowPartialTrustCallers attributes.

* Source/OpenTK/Configuration.cs: Added [assemly: AssemblyKeyFile]
  attribute.
Added missing license information.
Moved [assembly: CLSCompliant] to Properies/AssemblyInfo.cs.
This commit is contained in:
the_fiddler 2009-09-04 10:34:18 +00:00
parent f8467ab767
commit 2c4e0feb1a
6 changed files with 57 additions and 15 deletions

View file

@ -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

View file

@ -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)]
[assembly: System.CLSCompliant(true)]
#if SIGN_ASSEMBLY
[assembly: AssemblyKeyFile(@"../../../OpenTK.snk")]
[assembly: System.Security.AllowPartiallyTrustedCallersAttribute]
#endif

View file

@ -31,3 +31,5 @@ using System.Runtime.InteropServices;
//
[assembly: AssemblyVersion("0.9.9.2")]
[assembly: AssemblyFileVersion("0.9.9.2")]
[assembly: AssemblyKeyFile(@"../../../OpenTK.snk")]

View file

@ -35,4 +35,9 @@ using System.Runtime.InteropServices;
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: System.CLSCompliant(true)]
[assembly: System.CLSCompliant(true)]
#if SIGN_ASSEMBLY
[assembly: AssemblyKeyFile(@"../../../OpenTK.snk")]
[assembly: System.Security.AllowPartiallyTrustedCallersAttribute]
#endif

View file

@ -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
{

View file

@ -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