[Mono-bugs] [Bug 46492][Wis] New - Assemblies default build and revision numbers.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Wed, 16 Jul 2003 18:50:31 -0400 (EDT)


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 jc@manoli.net.

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

--- shadow/46492	Wed Jul 16 18:50:31 2003
+++ shadow/46492.tmp.2923	Wed Jul 16 18:50:31 2003
@@ -0,0 +1,49 @@
+Bug#: 46492
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jc@manoli.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Assemblies default build and revision numbers.
+
+Description of Problem:
+
+When an assembly has the AssemblyVersion attribute with a wildcard in the 
+version number (for example [assembly: AssemblyVersion("1.2.*")]), then 
+the build and/or revision number should be generated automatically at 
+compile time.  
+
+In the .NET Framework, the default build number is the number of days 
+since Jan 1, 2000, and the default revision number is the number of 
+seconds since midnight or something like that.
+
+
+Steps to reproduce the problem:
+1. add [assembly: AssemblyVersion("1.2.*")] in an assembly's source code,
+2. compile the assembly,
+3. check the assembly's version number
+
+Actual Results:
+1.2.0.0
+
+Expected Results:
+Something like 1.2.1292.21964
+
+How often does this happen? 
+Always
+
+Additional Information:
+
+Note the other possible usage of the automatic version numbering:
+[assembly: AssemblyVersion("1.2.*.3")] and
+[assembly: AssemblyVersion("1.2.438.*")]