Some version numbers work, others don't???

S

standish22

OK, this is weird. What gives?

In our application we have a CommonAssemblyInfo.vb, which is shared
thru all the projects. When we're ready to build we just change the
version in this one place and build. It's been working beautifully.
The file contains 2 lines:
******************************************************************
Imports System.Reflection

<Assembly: AssemblyVersion("3.0.61004.1")>
******************************************************************
(In all the other AssemblyInfo.vb this line is commented out.)

OK, so now we're on our next version, and I changed it to 3.0.70305.1,
and I'm getting an error saying

******************************************************************
Error 104 Assembly attribute
'System.Reflection.AssemblyVersionAttribute' is not valid: The version
specified '3.0.65535.1' is invalid
******************************************************************

It appears that if I change the 3rd number to anything less than
65535, it works. Anything greater than that, I get an error. What
gives?

(btw, we do our versioning a little different. The 3 # represents the
date (YMMDD))

Thanks in advance.
 
S

standish22

OK, this is weird. What gives?

In our application we have a CommonAssemblyInfo.vb, which is shared
thru all the projects. When we're ready to build we just change the
version in this one place and build. It's been working beautifully.
The file contains 2 lines:
******************************************************************
Imports System.Reflection

<Assembly: AssemblyVersion("3.0.61004.1")>
******************************************************************
(In all the other AssemblyInfo.vb this line is commented out.)

OK, so now we're on our next version, and I changed it to 3.0.70305.1,
and I'm getting an error saying

******************************************************************
Error 104 Assembly attribute
'System.Reflection.AssemblyVersionAttribute' is not valid: The version
specified '3.0.65535.1' is invalid
******************************************************************

It appears that if I change the 3rd number to anything less than
65535, it works. Anything greater than that, I get an error. What
gives?

(btw, we do our versioning a little different. The 3 # represents the
date (YMMDD))

Thanks in advance.



Nevermind I guess it's because it doesn't allow anything over 2^16.
Well ain't that a bummer! :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top