PC Review


Reply
Thread Tools Rate Thread

AssemblyVersionAttribute

 
 
Guest
Posts: n/a
 
      22nd Jan 2004
Hi,

In the AssemblyInfo.cs file I change the AssemblyVersion["1.0.0"];
attribute from the default "1.0.*" blah

I notice that its FORCING 4 digit notation, so if I use "1.0.0" I get
"1.0.0.0" in that property. Are we FORCED to have 4 digits for our
versioning or can this be overrided?

Thanks


 
Reply With Quote
 
 
 
 
Jan Tielens
Guest
Posts: n/a
 
      22nd Jan 2004
I don't think you can override this, check out the docs:
http://tinyurl.com/295jl
The version number has four parts, as follows:
<major version>.<minor version>.<build number>.<revision>

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan


<(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> Hi,
>
> In the AssemblyInfo.cs file I change the AssemblyVersion["1.0.0"];
> attribute from the default "1.0.*" blah
>
> I notice that its FORCING 4 digit notation, so if I use "1.0.0" I get
> "1.0.0.0" in that property. Are we FORCED to have 4 digits for our
> versioning or can this be overrided?
>
> Thanks
>
>



 
Reply With Quote
 
n!
Guest
Posts: n/a
 
      22nd Jan 2004
> I notice that its FORCING 4 digit notation, so if I use "1.0.0" I get
> "1.0.0.0" in that property. Are we FORCED to have 4 digits for our
> versioning or can this be overrided?


The version number always has four parts, with the format:

<major version>.<minor version>.<build number>.<revision>

There is a more complete overview in the documentation for
AssemblyVersionAttribute itself (http://tinyurl.com/295jl).

n!


 
Reply With Quote
 
Guest
Posts: n/a
 
      22nd Jan 2004
Is this a requirement in the ECMA?


"n!" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> > I notice that its FORCING 4 digit notation, so if I use "1.0.0" I get
> > "1.0.0.0" in that property. Are we FORCED to have 4 digits for our
> > versioning or can this be overrided?

>
> The version number always has four parts, with the format:
>
> <major version>.<minor version>.<build number>.<revision>
>
> There is a more complete overview in the documentation for
> AssemblyVersionAttribute itself (http://tinyurl.com/295jl).
>
> n!
>
>



 
Reply With Quote
 
Jon Skeet [C# MVP]
Guest
Posts: n/a
 
      22nd Jan 2004
<(E-Mail Removed)> wrote:
> Is this a requirement in the ECMA?


Yes. See section 6.1.2.4 of partition 2 of the spec.

--
Jon Skeet - <(E-Mail Removed)>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
 
Reply With Quote
 
n!
Guest
Posts: n/a
 
      22nd Jan 2004
> Is this a requirement in the ECMA?

"CLI Partition IV - Library" notes:

AssemblyVersion:
Specifies the version of the assembly in the form 1.0.x.y, where x is a
build number and y is a revision number.

n!


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AssemblyVersionAttribute set from parameter sovarschizsuzsa@gmail.com Microsoft VC .NET 0 2nd Oct 2006 10:44 AM
AssemblyVersionAttribute Pascal Cloup Microsoft Dot NET 3 18th Nov 2005 03:28 PM
AssemblyVersionAttribute Oleg Ogurok Microsoft Dot NET Framework 1 27th Sep 2004 07:45 PM
AssemblyVersionAttribute Microsoft C# .NET 5 22nd Jan 2004 12:17 PM
AssemblyVersionAttribute Microsoft Dot NET 5 22nd Jan 2004 12:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:16 PM.