diff --git a/.gitignore b/.gitignore index a457af4f..5fbb5df8 100644 --- a/.gitignore +++ b/.gitignore @@ -547,4 +547,8 @@ src/OpenTK/Graphics/ES20/ES20Enums.cs src/OpenTK/Graphics/OpenGL/GL.cs src/OpenTK/Graphics/OpenGL/GLEnums.cs src/OpenTK/Graphics/OpenGL4/GL4.cs -src/OpenTK/Graphics/OpenGL4/GL4Enums.cs \ No newline at end of file +src/OpenTK/Graphics/OpenGL4/GL4Enums.cs + +# OpenTK AssemblyInfo files +**/Properties/AssemblyInfo.cs +**/AssemblyInfo.fs diff --git a/build.fsx b/build.fsx index a622c151..ee8eb0a5 100644 --- a/build.fsx +++ b/build.fsx @@ -136,7 +136,7 @@ Target "AssemblyInfo" (fun _ -> (getAssemblyInfoAttributes projectName) ) - !! "src/**/*.??proj" + activeProjects |> Seq.map getProjectDetails |> Seq.iter (fun (projFileName, projectName, folderName, attributes) -> match projFileName with diff --git a/src/Generator.Bind/Properties/AssemblyInfo.cs b/src/Generator.Bind/Properties/AssemblyInfo.cs deleted file mode 100644 index 16ced826..00000000 --- a/src/Generator.Bind/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,22 +0,0 @@ -// -using System; -using System.Reflection; - -[assembly: AssemblyTitleAttribute("Generator.Bind")] -[assembly: AssemblyProductAttribute("OpenTK")] -[assembly: AssemblyDescriptionAttribute("A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.")] -[assembly: AssemblyVersionAttribute("3.0.0")] -[assembly: AssemblyFileVersionAttribute("3.0.0")] -[assembly: CLSCompliantAttribute(true)] -[assembly: AssemblyCopyrightAttribute("Copyright (c) 2006 - 2016 Stefanos Apostolopoulos for the Open Toolkit library.")] -namespace System { - internal static class AssemblyVersionInformation { - internal const System.String AssemblyTitle = "Generator.Bind"; - internal const System.String AssemblyProduct = "OpenTK"; - internal const System.String AssemblyDescription = "A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL."; - internal const System.String AssemblyVersion = "3.0.0"; - internal const System.String AssemblyFileVersion = "3.0.0"; - internal const System.Boolean CLSCompliant = true; - internal const System.String AssemblyCopyright = "Copyright (c) 2006 - 2016 Stefanos Apostolopoulos for the Open Toolkit library."; - } -} diff --git a/src/Generator.Converter/Properties/AssemblyInfo.cs b/src/Generator.Converter/Properties/AssemblyInfo.cs deleted file mode 100644 index 462df852..00000000 --- a/src/Generator.Converter/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,22 +0,0 @@ -// -using System; -using System.Reflection; - -[assembly: AssemblyTitleAttribute("Generator.Convert")] -[assembly: AssemblyProductAttribute("OpenTK")] -[assembly: AssemblyDescriptionAttribute("A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.")] -[assembly: AssemblyVersionAttribute("3.0.0")] -[assembly: AssemblyFileVersionAttribute("3.0.0")] -[assembly: CLSCompliantAttribute(true)] -[assembly: AssemblyCopyrightAttribute("Copyright (c) 2006 - 2016 Stefanos Apostolopoulos for the Open Toolkit library.")] -namespace System { - internal static class AssemblyVersionInformation { - internal const System.String AssemblyTitle = "Generator.Convert"; - internal const System.String AssemblyProduct = "OpenTK"; - internal const System.String AssemblyDescription = "A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL."; - internal const System.String AssemblyVersion = "3.0.0"; - internal const System.String AssemblyFileVersion = "3.0.0"; - internal const System.Boolean CLSCompliant = true; - internal const System.String AssemblyCopyright = "Copyright (c) 2006 - 2016 Stefanos Apostolopoulos for the Open Toolkit library."; - } -} diff --git a/src/Generator.Rewrite/Properties/AssemblyInfo.cs b/src/Generator.Rewrite/Properties/AssemblyInfo.cs deleted file mode 100644 index 438811f0..00000000 --- a/src/Generator.Rewrite/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,22 +0,0 @@ -// -using System; -using System.Reflection; - -[assembly: AssemblyTitleAttribute("Generator.Rewrite")] -[assembly: AssemblyProductAttribute("OpenTK")] -[assembly: AssemblyDescriptionAttribute("A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.")] -[assembly: AssemblyVersionAttribute("3.0.0")] -[assembly: AssemblyFileVersionAttribute("3.0.0")] -[assembly: CLSCompliantAttribute(true)] -[assembly: AssemblyCopyrightAttribute("Copyright (c) 2006 - 2016 Stefanos Apostolopoulos for the Open Toolkit library.")] -namespace System { - internal static class AssemblyVersionInformation { - internal const System.String AssemblyTitle = "Generator.Rewrite"; - internal const System.String AssemblyProduct = "OpenTK"; - internal const System.String AssemblyDescription = "A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL."; - internal const System.String AssemblyVersion = "3.0.0"; - internal const System.String AssemblyFileVersion = "3.0.0"; - internal const System.Boolean CLSCompliant = true; - internal const System.String AssemblyCopyright = "Copyright (c) 2006 - 2016 Stefanos Apostolopoulos for the Open Toolkit library."; - } -} diff --git a/src/OpenTK.GLControl/Properties/AssemblyInfo.cs b/src/OpenTK.GLControl/Properties/AssemblyInfo.cs deleted file mode 100644 index a2f2b85c..00000000 --- a/src/OpenTK.GLControl/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,22 +0,0 @@ -// -using System; -using System.Reflection; - -[assembly: AssemblyTitleAttribute("OpenTK.GLControl")] -[assembly: AssemblyProductAttribute("OpenTK")] -[assembly: AssemblyDescriptionAttribute("A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.")] -[assembly: AssemblyVersionAttribute("3.0.0")] -[assembly: AssemblyFileVersionAttribute("3.0.0")] -[assembly: CLSCompliantAttribute(true)] -[assembly: AssemblyCopyrightAttribute("Copyright (c) 2006 - 2016 Stefanos Apostolopoulos for the Open Toolkit library.")] -namespace System { - internal static class AssemblyVersionInformation { - internal const System.String AssemblyTitle = "OpenTK.GLControl"; - internal const System.String AssemblyProduct = "OpenTK"; - internal const System.String AssemblyDescription = "A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL."; - internal const System.String AssemblyVersion = "3.0.0"; - internal const System.String AssemblyFileVersion = "3.0.0"; - internal const System.Boolean CLSCompliant = true; - internal const System.String AssemblyCopyright = "Copyright (c) 2006 - 2016 Stefanos Apostolopoulos for the Open Toolkit library."; - } -} diff --git a/src/OpenTK.GLWidget/Properties/AssemblyInfo.cs b/src/OpenTK.GLWidget/Properties/AssemblyInfo.cs deleted file mode 100644 index 0db3d7c1..00000000 --- a/src/OpenTK.GLWidget/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,22 +0,0 @@ -// -using System; -using System.Reflection; - -[assembly: AssemblyTitleAttribute("OpenTK.GLWidget")] -[assembly: AssemblyProductAttribute("OpenTK")] -[assembly: AssemblyDescriptionAttribute("A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.")] -[assembly: AssemblyVersionAttribute("3.0.0")] -[assembly: AssemblyFileVersionAttribute("3.0.0")] -[assembly: CLSCompliantAttribute(true)] -[assembly: AssemblyCopyrightAttribute("Copyright (c) 2006 - 2016 Stefanos Apostolopoulos for the Open Toolkit library.")] -namespace System { - internal static class AssemblyVersionInformation { - internal const System.String AssemblyTitle = "OpenTK.GLWidget"; - internal const System.String AssemblyProduct = "OpenTK"; - internal const System.String AssemblyDescription = "A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL."; - internal const System.String AssemblyVersion = "3.0.0"; - internal const System.String AssemblyFileVersion = "3.0.0"; - internal const System.Boolean CLSCompliant = true; - internal const System.String AssemblyCopyright = "Copyright (c) 2006 - 2016 Stefanos Apostolopoulos for the Open Toolkit library."; - } -} diff --git a/src/OpenTK/Properties/AssemblyInfo.cs b/src/OpenTK/Properties/AssemblyInfo.cs deleted file mode 100644 index 045ffa41..00000000 --- a/src/OpenTK/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,25 +0,0 @@ -// -using System; -using System.Reflection; -using System.Runtime.CompilerServices; - -[assembly: AssemblyTitleAttribute("OpenTK")] -[assembly: AssemblyProductAttribute("OpenTK")] -[assembly: AssemblyDescriptionAttribute("A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.")] -[assembly: AssemblyVersionAttribute("3.0.0")] -[assembly: AssemblyFileVersionAttribute("3.0.0")] -[assembly: CLSCompliantAttribute(true)] -[assembly: AssemblyCopyrightAttribute("Copyright (c) 2006 - 2016 Stefanos Apostolopoulos for the Open Toolkit library.")] -[assembly: InternalsVisibleToAttribute("OpenTK.GLWidget, PublicKey=0024000004800000940000000602000000240000525341310004000011000000a3e05aafb87f71fb8fd02b512707f289c12341de98c6ce2ec1494b71c20cb2032cbd65d091b447df3ec772257efb9fa3591201937890e067da1d29a339948a12b29c2847a787cc9fbef2a3bf78267026e85f36aab827228df4bb580e3ae0599ade036f0a97a0e6982f5406d98d114455f332350f6d8369db655e9c3e7976c2c8")] -namespace System { - internal static class AssemblyVersionInformation { - internal const System.String AssemblyTitle = "OpenTK"; - internal const System.String AssemblyProduct = "OpenTK"; - internal const System.String AssemblyDescription = "A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL."; - internal const System.String AssemblyVersion = "3.0.0"; - internal const System.String AssemblyFileVersion = "3.0.0"; - internal const System.Boolean CLSCompliant = true; - internal const System.String AssemblyCopyright = "Copyright (c) 2006 - 2016 Stefanos Apostolopoulos for the Open Toolkit library."; - internal const System.String InternalsVisibleTo = "OpenTK.GLWidget, PublicKey=0024000004800000940000000602000000240000525341310004000011000000a3e05aafb87f71fb8fd02b512707f289c12341de98c6ce2ec1494b71c20cb2032cbd65d091b447df3ec772257efb9fa3591201937890e067da1d29a339948a12b29c2847a787cc9fbef2a3bf78267026e85f36aab827228df4bb580e3ae0599ade036f0a97a0e6982f5406d98d114455f332350f6d8369db655e9c3e7976c2c8"; - } -} diff --git a/tests/OpenTK.Tests.Integration/AssemblyInfo.fs b/tests/OpenTK.Tests.Integration/AssemblyInfo.fs deleted file mode 100644 index 9aa700ce..00000000 --- a/tests/OpenTK.Tests.Integration/AssemblyInfo.fs +++ /dev/null @@ -1,41 +0,0 @@ -namespace OpenTK.Tests.Integration.AssemblyInfo - -open System.Reflection -open System.Runtime.CompilerServices -open System.Runtime.InteropServices - -// 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. -[] -[] -[] -[] -[] -[] -[] -[] - -// 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. -[] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[] - -// 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: -// [] -[] -[] - -do - () diff --git a/tests/OpenTK.Tests/AssemblyInfo.fs b/tests/OpenTK.Tests/AssemblyInfo.fs deleted file mode 100644 index 1d63b8ec..00000000 --- a/tests/OpenTK.Tests/AssemblyInfo.fs +++ /dev/null @@ -1,41 +0,0 @@ -namespace OpenTK.Tests.AssemblyInfo - -open System.Reflection -open System.Runtime.CompilerServices -open System.Runtime.InteropServices - -// 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. -[] -[] -[] -[] -[] -[] -[] -[] - -// 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. -[] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[] - -// 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: -// [] -[] -[] - -do - () \ No newline at end of file