Merge pull request #427 from varon/nuget-name-fix

Fix OpenTK assembly name error
This commit is contained in:
Harry 2016-09-23 16:41:22 +02:00 committed by GitHub
commit 01e5ac9cd3
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")]