[Mono-bugs] [Bug 345972] FileVersionInfo doesn't work

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 16 10:16:03 EST 2008


User dick at novell.com added comment

Dick Porter <dick at novell.com> changed:

           What    |Removed                                         |Added
             Status|REOPENED                                        |RESOLVED
         Resolution|                                                |FIXED

--- Comment #16 from Dick Porter <dick at novell.com>  2008-01-16 08:16:02 MST ---
(In reply to comment #13 from Gert Driesen)
> There are still a few issues left to fix:
> * we currently use AssemblyVersion as file version instead of the
> AssemblyFileVersion; FileVersionInfo.FileVersion returns the correct value
> (strange enough), but FileMajorPart, FileMinorPart, ... return the wrong value.
> * FileVersionInfo.FileVersion should return "" if no file version is
> set.
> I'll attach my standalone testcase in a minute.

Actually, it's the Assembly that is saved that is wrong - FileVersionInfo is
working fine in this case if you give it the file saved by the MS runtime. 
This is a bug, but not in FileVersionInfo so closing again.

(Actually, investigating this did show up another issue with the string length
returned by VarQueryValue on windows, so that is fixed yet again in svn

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list