From 844eb285effad7df75cc38669f537f792ebe3252 Mon Sep 17 00:00:00 2001 From: varon Date: Mon, 19 Sep 2016 01:36:11 +0200 Subject: [PATCH] fix OpenTK assembly name error. --- build.fsx | 7 ++++++- src/OpenTK/Properties/AssemblyInfo.cs | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/build.fsx b/build.fsx index 7b585537..012efed9 100644 --- a/build.fsx +++ b/build.fsx @@ -93,7 +93,12 @@ let activeProjects = // Generate assembly info files with the right version & up-to-date information Target "AssemblyInfo" (fun _ -> - let getAssemblyInfoAttributes projectName = + let getAssemblyInfoAttributes (projectName:string) = + let projectName = + if projectName.Contains(".iOS") || projectName.Contains(".Android") then + projectName.Split('.').[0] + else + projectName [ Attribute.Title (projectName) Attribute.Product project Attribute.Description summary diff --git a/src/OpenTK/Properties/AssemblyInfo.cs b/src/OpenTK/Properties/AssemblyInfo.cs index c0ce7ba8..4b085898 100644 --- a/src/OpenTK/Properties/AssemblyInfo.cs +++ b/src/OpenTK/Properties/AssemblyInfo.cs @@ -2,7 +2,7 @@ using System; using System.Reflection; -[assembly: AssemblyTitleAttribute("OpenTK.iOS")] +[assembly: AssemblyTitleAttribute("OpenTK")] [assembly: AssemblyProductAttribute("OpenTK")] [assembly: AssemblyDescriptionAttribute("A set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL.")] [assembly: AssemblyVersionAttribute("2.0.0")]