marek.safar at gmail.com
Sun May 25 10:58:43 UTC 2014
When compiling an assembly , the File version info of the file is set by
> reading the AssemblyInfo.AssemblyFileVersion attribute. On mono it seems to
> be reading the AssemblyVersion attribute.
At first look this looks like mono bug. Please fill a bug report.
> As a test, set these 2 attributes into an assembly:
> [assembly: AssemblyVersion("2011.04.0.0")]
> [assembly : AssemblyFileVersion("2011.02.0.0")]
> Then build it and try this:
> Assembly executingAssembly = Assembly.GetAssembly(typeof(Runtime));
> FileVersionInfo fvi =
> string version1 = fvi.FileVersion;
> Console.WriteLine("version: "+version1);
> In our test it was returning 2011.04.0.0 but on Windows it would return
> 2011.02.0.0 and right clicking on the files in Windows Explorer would show
> the same things. Could Linux be putting this in a different area?
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list