[Mono-bugs] [Bug 51428][Nor] New - Using * in AssemblyVersion doesnt generate a version number.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 26 Nov 2003 16:16:33 -0500 (EST)


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 prencher@prencher.dk.

http://bugzilla.ximian.com/show_bug.cgi?id=51428

--- shadow/51428	2003-11-26 16:16:33.000000000 -0500
+++ shadow/51428.tmp.31241	2003-11-26 16:16:33.000000000 -0500
@@ -0,0 +1,53 @@
+Bug#: 51428
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: prencher@prencher.dk               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Using * in AssemblyVersion doesnt generate a version number.
+
+Description of Problem:
+Using * in AssemblyVersion doesnt generate a version number.
+
+Steps to reproduce the problem:
+1. Create a simple application, setting AssemblyVersion, mine looked as follow:
+-----
+using System;
+using System.Reflection;
+
+[assembly: AssemblyVersion("1.0.42.*")]
+
+class ApplicationEntry
+{
+    public static void Main ()
+    {
+        System.Console.WriteLine("Test");
+        System.Console.Read();
+    }
+}
+-----
+2. Compile: mcs -out:Test.exe Test.cs
+3. Fetch assembly info: monodis --assembly Test.exe
+
+Actual Results:
+Version always 1.0.42.0.
+
+Expected Results:
+An auto generated revision number.
+
+How often does this happen? 
+Always.
+
+Additional Information:
+Downloaded and installed mono-0.28-win32-1.exe.
+mcs --version: Mono C# Compiler version 0.27.0.0