[Mono-bugs] [Bug 361709] Issues with App.ProductName, CompanyName, ProductVersion corner cases
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Feb 25 11:53:10 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=361709
User jpobst at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=361709#c9
Jonathan Pobst <jpobst at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #9 from Jonathan Pobst <jpobst at novell.com> 2008-02-25 09:53:10 MST ---
Using your test case and your patch, I get:
net
-------------
FirstNS
FourthNS
1.0.0.0
C:\ProgramData\FirstNS\FourthNS\1.0.0.0
HKEY_LOCAL_MACHINE\Software\FirstNS\FourthNS\1.0.0.0
C:\Users\Jonathan Pobst\AppData\Roaming\FirstNS\FourthNS\1.0.0.0
HKEY_CURRENT_USER\Software\FirstNS\FourthNS\1.0.0.0
mono
-------------
FirstNS
FourthNS
2.0.0.0
C:\ProgramData\FirstNS\FourthNS\2.0.0.0
HKEY_LOCAL_MACHINE\Software\FirstNS\FourthNS\2.0.0.0
C:\Users\Jonathan Pobst\AppData\Roaming\FirstNS\FourthNS\2.0.0.0
HKEY_CURRENT_USER\Software\FirstNS\FourthNS\2.0.0.0
So I don't think it picks up AssemblyFileVersion.
Using my test case and your patch, I get:
net
-------------
Program
Program
1.0.0.0
C:\ProgramData\Program\Program\1.0.0.0
HKEY_LOCAL_MACHINE\Software\Program\Program\1.0.0.0
C:\Users\Jonathan Pobst\AppData\Roaming\Program\Program\1.0.0.0
HKEY_CURRENT_USER\Software\Program\Program\1.0.0.0
mono
--------------
Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
at System.Windows.Forms.Application.get_CompanyName () [0x00074] in
D:\Documents\Visual Studio
2005\Projects\Mono\class\Managed.Windows.Forms\System.Windows.Forms\Application.cs:229
at Program.Main (System.String[] args) [0x00000]
[Tests run on Vista/.net 2.0 sp1]
--
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