Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

On Mono 3.12.1 AssemblyAttribute are not added to compiled exe #407

Closed
devboy opened this issue Apr 28, 2015 · 1 comment
Closed

On Mono 3.12.1 AssemblyAttribute are not added to compiled exe #407

devboy opened this issue Apr 28, 2015 · 1 comment

Comments

@devboy
Copy link

devboy commented Apr 28, 2015

Hope this is the right place to file the issue.

I am compiling a console-app written in F# with mono/MSBuild/FAKE containing the following AssemblyInfo.fs:

namespace System
open System.Reflection

[<assembly: AssemblyTitleAttribute("Paket.Unity3D")>]
[<assembly: AssemblyProductAttribute("Paket.Unity3D")>]
[<assembly: AssemblyDescriptionAttribute("Piggy-backs ontop of Paket to add dependencies to Unity3D projects")>]
[<assembly: AssemblyVersionAttribute("0.1.0")>]
[<assembly: AssemblyFileVersionAttribute("0.1.0")>]
do ()

module internal AssemblyVersionInformation =
    let [<Literal>] Version = "0.1.0"

unfortunately this information is not present in the produced exe file:

> System.Diagnostics.FileVersionInfo.GetVersionInfo("bin/paket.unity3d.exe");;
val it : System.Diagnostics.FileVersionInfo =
  File:             bin/paket.unity3d.exe
InternalName:
OriginalFilename:
FileVersion:
FileDescription:
Product:
ProductVersion:
Debug:            False
Patched:          False
PreRelease:       False
PrivateBuild:     False
SpecialBuild:     False
...

It's fine when i compile the same project on Windows, and has previously worked.
I will downgrade to Mono 3.10 and see if it works there.

@devboy
Copy link
Author

devboy commented Apr 28, 2015

The project in question can be found here: https://github.com/devboy/Paket.Unity3D

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants