// 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
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")]