fix OpenTK assembly name error.
This commit is contained in:
parent
d50c2fcea0
commit
844eb285ef
2 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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")]
|
||||
|
|
Loading…
Reference in a new issue