[Mono-bugs] [Bug 78869][Wis] New - Version is reported incorrectly on purpose by Application.ProductVersion.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Jul 15 20:47:22 EDT 2006
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 georgegiolfan at yahoo.com.
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: peter at novonyx.com
+ReportedBy: georgegiolfan at yahoo.com
+QAContact: mono-bugs at ximian.com
+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);
+}
More information about the mono-bugs
mailing list