views:

313

answers:

3

I am getting this error now that I hit version number 1.256.0: Error 4 Invalid product version '1.256.0'. Must be of format '##.##.####'

The installer was fine with 1.255.0 but something with 256 (2^8) it doesn't like. I found this stated on msdn.com: The Version property must be formatted as N.N.N, where each N represents at least one and no more than four digits. (http://msdn.microsoft.com/en-us/library/d3ywkte8(VS.80).aspx)

Which would make me believe there is nothing wrong 1.256.0 because it meets the rules stated above.

Does anyone have any ideas on why this would be failing now?

A: 

The link you reference says " This page is specific to Microsoft Visual Studio 2008/.NET Framework 3.5", but you're talking about vs2005.

My guess: a 0-based range of 256 numbers ends at 255, therefore trying to use 256 exceeds that and perhaps they changed it for VS2008

Edit: I looked again and see where that link can be switched to talk about VS2005, and gives the same answer. I'm still sticking to my 0-255 theory though. Wouldn't be the first time this week I came across something incorrect in MSDN docs.

busse
A: 

Busse, when I copy the link (its not a complete hyperlink) it says "This page is specific to Microsoft Visual Studio 2005/.NET Framework 2.0"

I built a sample in 2008, same error.

Lucas
A: 

This article says there is a major and minor max of 255.

http://msdn.microsoft.com/en-us/library/aa370859(VS.85).aspx

Lucas