Skip to content

Commit

Permalink
All projects now read common AssemblyInfo items from GlobalAssemblyIn…
Browse files Browse the repository at this point in the history
…fo.cs. The various AssemblyInfo.cs files now only contain project-specific information. Assembly versions are now controlled by Build.UpdateVersion.

git-svn-id: https://opentk.svn.sourceforge.net/svnroot/opentk/trunk@2749 ebc5dd9b-fb1d-0410-b6f8-d24c324e9604
  • Loading branch information
the_fiddler committed Oct 4, 2010
1 parent 7ffead2 commit 2ea307e
Show file tree
Hide file tree
Showing 14 changed files with 40 additions and 157 deletions.
11 changes: 4 additions & 7 deletions Documentation/Todo.txt
@@ -1,19 +1,16 @@
[Immediate]
- Remove Build.exe and OpenTK.Build projects.
- Make a release from trunk.

[Short term]
- Update contributors list.
- Automate uploads of nightly builds.
- Add generator project to OpenTK.sln.
- Update AssemblyInfo through the msbuild script.
- Modify buildbot to generate zip package from the nsis installer.
- Modify nsis script to make source code and openal installer optional features.
- Modify nsis script to download openal installer from the web.
- Implement GL3.3 and 4.1.
- Clean site and example documentation.
- Clean up site and example documentation.
- Update contributors list.

[Mid term]
- Clean up warnings.
- Remove System.Windows.Forms reference from OpenTK.dll.
- Add mouse cursor visibility to NativeWindow.
- Add mouse cursor capture to NativeWindow.
- Add joystick support to Mac OS X.
Expand Down
3 changes: 3 additions & 0 deletions Source/Bind/Generator.Bind.csproj
Expand Up @@ -136,6 +136,9 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="..\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="IBind.cs">
<SubType>Code</SubType>
</Compile>
Expand Down
23 changes: 1 addition & 22 deletions Source/Bind/Properties/AssemblyInfo.cs
Expand Up @@ -5,29 +5,8 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("The Open Toolkit Library Binding Generator")]
[assembly: AssemblyTitle("Generator.Bind")]
[assembly: AssemblyDescription("Generates C# bindings for the the Open Toolkit Library")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("The Open Toolkit Library")]
[assembly: AssemblyProduct("The Open Toolkit Library")]
[assembly: AssemblyCopyright("Copyright © 2006-2009 the Open Toolkit Library")]
[assembly: AssemblyTrademark("OpenTK")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("0d681958-ca78-4a67-b71c-ff8755488e23")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("0.9.9.14")]
[assembly: AssemblyFileVersion("0.9.9.14")]
3 changes: 3 additions & 0 deletions Source/Compatibility/OpenTK.Compatibility.csproj
Expand Up @@ -137,6 +137,9 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Compile Include="..\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="IPackable.cs">
<SubType>Code</SubType>
</Compile>
Expand Down
25 changes: 0 additions & 25 deletions Source/Compatibility/Properties/AssemblyInfo.cs
Expand Up @@ -8,37 +8,12 @@
// associated with an assembly.
[assembly: AssemblyTitle("OpenTK.Compatibility")]
[assembly: AssemblyDescription("Provides compatibility with previous versions of OpenTK and the Tao framework.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("The Open Toolkit Library")]
[assembly: AssemblyProduct("The Open Toolkit Library")]
[assembly: AssemblyCopyright("Copyright © 2006-2010 the Open Toolkit Library")]
[assembly: AssemblyTrademark("OpenTK")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("7c495044-4b1a-4bff-aee9-ff9dbf85433f")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.201")]
[assembly: AssemblyFileVersion("1.0.0.201")]

[assembly: System.CLSCompliant(true)]
[assembly: System.Security.AllowPartiallyTrustedCallers]
#if NET40
[assembly: System.Security.SecurityRules(System.Security.SecurityRuleSet.Level1)]
#endif

#if SIGN_ASSEMBLY
[assembly: AssemblyKeyFile(@"../../../OpenTK.snk")]
#endif
3 changes: 3 additions & 0 deletions Source/Converter/Generator.Convert.csproj
Expand Up @@ -138,6 +138,9 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="..\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="Main.cs">
<SubType>Code</SubType>
</Compile>
Expand Down
23 changes: 1 addition & 22 deletions Source/Converter/Properties/AssemblyInfo.cs
Expand Up @@ -5,29 +5,8 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("The Open Toolkit Library Header Converter")]
[assembly: AssemblyTitle("Generator.Convert")]
[assembly: AssemblyDescription("Converts C headers into XML suitable for the binding generator")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("The Open Toolkit Library")]
[assembly: AssemblyProduct("The Open Toolkit Library")]
[assembly: AssemblyCopyright("Copyright © 2009 the Open Toolkit Library")]
[assembly: AssemblyTrademark("OpenTK")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("01d453bf-8648-4441-953e-7094a0ec1364")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("0.9.9.4")]
[assembly: AssemblyFileVersion("0.9.9.4")]
3 changes: 3 additions & 0 deletions Source/Examples/OpenTK.Examples.csproj
Expand Up @@ -137,6 +137,9 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Compile Include="..\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="ExampleInfo.cs">
<SubType>Code</SubType>
</Compile>
Expand Down
25 changes: 0 additions & 25 deletions Source/Examples/Properties/AssemblyInfo.cs
Expand Up @@ -7,31 +7,6 @@
// associated with an assembly.
[assembly: AssemblyTitle("OpenTK.Examples")]
[assembly: AssemblyDescription("Examples showcasing OpenTK and OpenGL")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("The Open Toolkit Library")]
[assembly: AssemblyProduct("The Open Toolkit Library")]
[assembly: AssemblyCopyright("Copyright © 2006-2010 the Open Toolkit Library")]
[assembly: AssemblyTrademark("OpenTK")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("f236c767-678f-4c20-9282-d051a3c39657")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.201")]
[assembly: AssemblyFileVersion("1.0.0.201")]

#if SIGN_ASSEMBLY
[assembly: AssemblyKeyFile(@"../../../OpenTK.snk")]
#endif
3 changes: 3 additions & 0 deletions Source/GLControl/OpenTK.GLControl.csproj
Expand Up @@ -129,6 +129,9 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Compile Include="..\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="GLControlFactory.cs">
<SubType>Code</SubType>
</Compile>
Expand Down
28 changes: 0 additions & 28 deletions Source/GLControl/Properties/AssemblyInfo.cs
Expand Up @@ -7,40 +7,12 @@
// associated with an assembly.
[assembly: AssemblyTitle("OpenTK.GLControl")]
[assembly: AssemblyDescription("Provides integration with System.Windows.Forms.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("The Open Toolkit Library")]
[assembly: AssemblyProduct("The Open Toolkit Library")]
[assembly: AssemblyCopyright("Copyright © 2006-2010 the Open Toolkit Library")]
[assembly: AssemblyTrademark("OpenTK")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("5414b90b-d7be-4382-b0e1-f07ce154f7f7")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.201")]
[assembly: AssemblyFileVersion("1.0.0.201")]

[assembly: System.CLSCompliant(true)]
[assembly: System.Security.AllowPartiallyTrustedCallers]
#if NET40
[assembly: System.Security.SecurityRules(System.Security.SecurityRuleSet.Level1)]
#endif

#if SIGN_ASSEMBLY
[assembly: AssemblyKeyFile(@"../../../OpenTK.snk")]
#endif
15 changes: 15 additions & 0 deletions Source/GlobalAssemblyInfo.cs
@@ -0,0 +1,15 @@
// This file is auto-generated through Source.Build.Tasks/AssemblyInfo.cs.
// Do not edit by hand!

using System;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

[assembly: AssemblyCompany("The Open Toolkit Library")]
[assembly: AssemblyProduct("The Open Toolkit Library")]
[assembly: AssemblyCopyright("Copyright © 2006 - 2010 the Open Toolkit Library")]
[assembly: AssemblyTrademark("OpenTK")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.276.58940")]
3 changes: 3 additions & 0 deletions Source/OpenTK/OpenTK.csproj
Expand Up @@ -122,6 +122,9 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="..\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="DisplayDevice.cs">
<SubType>Code</SubType>
</Compile>
Expand Down
29 changes: 1 addition & 28 deletions Source/OpenTK/Properties/AssemblyInfo.cs
@@ -1,4 +1,4 @@
using System;
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand All @@ -8,39 +8,12 @@
// associated with an assembly.
[assembly: AssemblyTitle("OpenTK")]
[assembly: AssemblyDescription("Open source game development toolkit for .Net/Mono.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("The Open Toolkit Library")]
[assembly: AssemblyProduct("The Open Toolkit Library")]
[assembly: AssemblyCopyright("Copyright © 2006-2010 the Open Toolkit Library")]
[assembly: AssemblyTrademark("OpenTK")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("7652241e-158d-4eb1-85f4-ed40ee356791")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.201")]
[assembly: AssemblyFileVersion("1.0.0.201")]

[assembly: CLSCompliant(true)]
[assembly: System.Security.AllowPartiallyTrustedCallers]
#if NET40
[assembly: System.Security.SecurityRules(System.Security.SecurityRuleSet.Level1)]
#endif

#if SIGN_ASSEMBLY
[assembly: AssemblyKeyFile(@"../../../OpenTK.snk")]
#endif

0 comments on commit 2ea307e

Please sign in to comment.