[Mono-bugs] [Bug 345972] New: FileVersionInfo doesn't work
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Dec 4 13:29:10 EST 2007
https://bugzilla.novell.com/show_bug.cgi?id=345972
Summary: FileVersionInfo doesn't work
Product: Mono: Class Libraries
Version: SVN
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at ximian.com
ReportedBy: rkvinge at novell.com
QAContact: mono-bugs at ximian.com
Found By: ---
Repro:
wget
http://anonsvn.mono-project.com/viewcvs/*checkout*/trunk/mono-basic/class/lib/bootstrap/vbnc.exe
compile and execute the following code:
////////////////
using System.Diagnostics;
class T
{
static void Main ()
{
FileVersionInfo f = FileVersionInfo.GetVersionInfo
("vbnc.exe");
System.Console.WriteLine (f);
}
}
////////////////
Result on head:
rolf at linux:/mono/tester> mono --version
Mono JIT compiler version 1.2.6 (/trunk/ r90541)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC)
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none
rolf at linux:/mono/tester> mono test.exe
File: vbnc.exe
InternalName:
OriginalFilename:
FileVersion:
FileDescription:
Product:
ProductVersion:
Debug: False
Patched: False
PreRelease: False
PrivateBuild: False
SpecialBuild: False
Language
Result on 1.2.5:
linux:/mono/tester # mono --version
Mono JIT compiler version 1.2.5 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC)
SIGSEGV: normal
Architecture: x86
Disabled: none
linux:/mono/tester # mono test.exe
File: /mono/tester/vbnc.exe
InternalName: vbnc
OriginalFilename: vbnc.exe
FileVersion: 0.0.0.5815
FileDescription:
Product: Visual Basic.Net Compiler
ProductVersion:
Debug: False
Patched: False
PreRelease: False
PrivateBuild: False
SpecialBuild: False
Language Language Neutral
This causes vbnc to not display it's logo (it displays a single string
'version' in a blank area), this can be seen on monobuild (mono-basic, during
build, all architectures that doesn't crash, for instance:
http://mono.ximian.com/monobuild/builds/HEAD/sles-9-x86_64/mono-basic/90677/logs/build.log)
On some architectures it looks like it causes crashes (sles-9-ppc,
macos-10-ppc, debian-4-sparc).
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list