|
|
 |
| ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 2.0 Professional section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

October 9th, 2007, 02:41 AM
|
|
Authorized User
|
|
Join Date: Feb 2007
Location: , , .
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Assembly Versioning
Hello All,
I was working with asp.net 2.0 some time back. Now i start working on asp.net 2.0. But i am very much confused in deploying web application in asp.net 2.0. And offcourse i dont have any idea how to play with different version of assemblies. In which scenerio we should change assembly version and which portion we should change(major or minor or build). I search on web a lot... but did not find any good article. Plz help me out..
Thanks in advance.
|

October 9th, 2007, 10:38 AM
|
 |
Friend of Wrox
Points: 16,368, Level: 55 |
|
|
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,394
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
This seems to usually be a matter of personal preference.
Typically the major and minor version numbers easy to dictate. You simply need to decide what they are based on the release of your software.
From what I've read Microsoft applies the build number as a date. For example, v2 of the framework is this version:
2.0.50727
It's major version 2, minor 0, built on 2005 July(07) 27th. Using this method makes it easy to see when a particular assembly was created.
I've yet to find any explanations as to what the revision number represents. I've used CruiseControl.NET to fire off release builds of software. If that case I've set up the build system to set the revision number to the incremental build number that comes from CruiseControl. This provides an association between a given assembly and a particular build that is logged and archived.
Unfortunately there isn't a cut and dried standard for versioning. Like everything else in software, there are lots of ways of doing it, and it's up to the individual or organization to decide what's best. The important thing is to be consistent with all your systems.
-Peter
|

October 9th, 2007, 11:29 AM
|
 |
Wrox Author
Points: 33,563, Level: 80 |
|
|
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 10,231
Thanks: 7
Thanked 203 Times in 201 Posts
|
|
Quote:
|
quote:I've yet to find any explanations as to what the revision number represents
|
AFAIK, the revision number with .NET assemblies is the number of seconds since midnight for the day of the built....
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
|

October 9th, 2007, 11:43 AM
|
 |
Friend of Wrox
Points: 16,368, Level: 55 |
|
|
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,394
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
Quote:
quote:Originally posted by Imar
AFAIK, the revision number with .NET assemblies is the number of seconds since midnight for the day of the built....
|
This is true when you use this as your assembly version in the AssemblyInfo file:
x.x.*
The * tells VS to fill in the build and revision numbers. However, if you set it explicitly (1.2.0.0) the 0.0 will remain.
-Peter
|

October 9th, 2007, 11:47 AM
|
 |
Wrox Author
Points: 33,563, Level: 80 |
|
|
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 10,231
Thanks: 7
Thanked 203 Times in 201 Posts
|
|
Right; I thought you were referring to the fixed revision number in assemblies deployed by the .NET Framework. e.g. the .1378 in 2.0.50727.1378
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
|

October 9th, 2007, 11:59 AM
|
 |
Friend of Wrox
Points: 16,368, Level: 55 |
|
|
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,394
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
Oh right. In that case, yes, I think you are correct.
-Peter
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |