fix OpenTK assembly name error.

This commit is contained in:
varon 2016-09-19 01:36:11 +02:00
parent d50c2fcea0
commit 844eb285ef
2 changed files with 7 additions and 2 deletions

View file

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

View file

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