Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78869 --- shadow/78869 2006-07-15 20:47:22.000000000 -0400 +++ shadow/78869.tmp.28416 2006-07-15 20:47:22.000000000 -0400 @@ -0,0 +1,48 @@ +Bug#: 78869 +Product: Mono: Class Libraries +Version: 1.0 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Version is reported incorrectly on purpose by Application.ProductVersion. + +Description of Problem: +Application.ProductVersion returns an incorrect value. + +Steps to reproduce the problem: +Compile and run the following program: +using System; +using System.Reflection; +using System.Windows.Forms; +[assembly:AssemblyVersion("0.0.0.0")] +class Test { + static void Main() { + Console.WriteLine(Application.ProductVersion); + } +} + +Actual Results: +1.0.0.0 + +Expected Results: +0.0.0.0 + +How often does this happen? +Always + +Additional Information: + + +if (version.StartsWith("0.")) { +version="1." + version.Substring(2); +} _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
