473,387 Members | 1,388 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

AssemblyVersion 1.2.*.61 doesn't work

I see from my searches that this has be discussed before.

However I can find no satisfactory answer or any reference to this problem
being a bug.

From the MSDN documentation for this attribute:-

A version number such as [assembly:AssemblyVersion("1.2.*.6")] specifies 1
as the major version, 2 as the minor version, accepts the default build
number, and specifies 6 as the revision number.

However when I build an assembly with this assembly version I get the error:-

The version specified is invalid.

I like the daily build based build number and want to use it. I don't like
the crazy milliseconds since midnight revision number and want to control the
revision number myself.

Am I doing something wrong or is the documentation wrong? If the
documentation is wrong how useful do MS think this automatic system is in the
real world?

Thanks In advanced,

Anthony.
Feb 20 '06 #1
3 1740
AnthonyWJones napisał(a):
[...]

A version number such as [assembly:AssemblyVersion("1.2.*.6")] specifies 1
as the major version, 2 as the minor version, accepts the default build
number, and specifies 6 as the revision number.

However when I build an assembly with this assembly version I get the error:-

The version specified is invalid.

[...]

Am I doing something wrong or is the documentation wrong? [...]


My local MSDN sais "If you specify an asterisk for the build number, you
cannot specify a revision number).", so you cannot specify version in
x.y.*.z format.
I think there is an error in MSDN that is in the web.

Regards,
Łukasz
Feb 20 '06 #2
Yes I've seen this posted elsewhere in my searches.

Could you point out where exactly in your version of the documentation.

I also should've have stated that I'm using VS2003. My local documentation
contains the same statement as the web version. Is my documentation
different from yours or am I looking in the wrong place?

Either way does anyone else think this is either a bug or that the MS
developers having a bad day when they came up with this?

Cheers,

Anthony.

"Łukasz" wrote:
AnthonyWJones napisał(a):
[...]

A version number such as [assembly:AssemblyVersion("1.2.*.6")] specifies 1
as the major version, 2 as the minor version, accepts the default build
number, and specifies 6 as the revision number.

However when I build an assembly with this assembly version I get the error:-

The version specified is invalid.

[...]

Am I doing something wrong or is the documentation wrong? [...]


My local MSDN sais "If you specify an asterisk for the build number, you
cannot specify a revision number).", so you cannot specify version in
x.y.*.z format.
I think there is an error in MSDN that is in the web.

Regards,
Łukasz

Feb 20 '06 #3
AnthonyWJones napisał(a):
Could you point out where exactly in your version of the documentation.
It's in index at "AssemblyVersionAttribute class | about
AssemblyVersionAttribute class" (URL:
ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref10/html/T_System_Reflection_AssemblyVersionAttribute.htm).
I also should've have stated that I'm using VS2003. My local documentation contains the same statement as the web version. Is my documentation
different from yours or am I looking in the wrong place?
Well, I have VS2005... and the web version is the same as my local one:
http://msdn2.microsoft.com/en-us/lib...te(VS.80).aspx
Either way does anyone else think this is either a bug or that the MS
developers having a bad day when they came up with this?


It's a bug :-)

Regards,
Łukasz
Feb 21 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mark | last post by:
In the AssemblyInfo.cs page of a ASP.NET project, there is a defaulted property of: It's my understanding that this indicates a Major Version of 1, a Minor Version of 0, and a Build and...
7
by: Martin Bischoff | last post by:
How can I set the assembly version in an ASP.NET 2.0 project? I have added a file AssemblyInfo.cs containing the version number to my project's App_Code folder. When I try to read the version...
7
by: Michael Maes | last post by:
Hi, Setting the Assembly Version is no problem (<Assembly: AssemblyVersion("1.1.20043.13")>) but how do I set the FileVersion (of the dll)? TIA, Michael
3
by: MattB | last post by:
I searched around a little and I don;t see how I can get the AssemblyVersion of the main assembly of my asp.net 1.1 application. Can anyone point me to an example? I want to be able to display this...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.