473,569 Members | 2,751 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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:Assemb lyVersion("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 1745
AnthonyWJones napisał(a):
[...]

A version number such as [assembly:Assemb lyVersion("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:Assemb lyVersion("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 "AssemblyVersio nAttribute class | about
AssemblyVersion Attribute class" (URL:
ms-help://MS.MSDNQTR.v80. en/MS.MSDN.v80/MS.NETDEVFX.v20 .en/cpref10/html/T_System_Reflec tion_AssemblyVe rsionAttribute. 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
274
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 Revision that increment on their own. I could modify the minor and major number above as it made "logical sense". Three related questions:
7
6129
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 number from my code I always get "0.0.0.0". In ASP.NET 1.1 I was able to read the version of my web application using the same code. Thanks for any...
7
16341
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
1424
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 in the application. Thanks! Matt
0
7609
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8118
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6278
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5504
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2107
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1208
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.