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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 5 07:37:42 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=345972

User atsushi at ximian.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=345972#c2


Atsushi Enomoto <atsushi at ximian.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |atsushi at ximian.com




--- Comment #2 from Atsushi Enomoto <atsushi at ximian.com>  2007-12-05 05:37:42 MST ---
Actually running this repro on .NET (with copied vbnc.exe on the same directory
as the repro exists) causes an error:

Unhandled Exception: System.ArgumentException: Absolute path information is
required.
   at
System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[]
str, Boolean needFullPath)
   at
System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess
access, AccessControlActions control, String[] pathListOrig, Boolean
checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
   at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess
access, String path)
   at System.Diagnostics.FileVersionInfo.get_FileName()
   at System.Diagnostics.FileVersionInfo.ToString()
   at System.IO.TextWriter.WriteLine(Object value)
   at System.IO.TextWriter.SyncTextWriter.WriteLine(Object value)
   at T.Main()


-- 
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