473,406 Members | 2,217 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,406 software developers and data experts.

Changing auto-build number

Is it possible to manually change the auto-build number used in VS.NET?

Thanks,
Robert
Nov 16 '05 #1
8 3209
You can set it as a constant, by editing the assembly.cs file.
The AssemblyVersion attribute:

[assembly AssemblyVersion("1.0.0.0")]

Cheers,
Branimir

--
Branimir Giurov
MCSD.NET, MCDBA
www.sofiadev.org

"Robert Misiak" <rm*****@users.cutthispartout.sourceforge.net> wrote in
message news:Ea******************@newsread1.news.pas.earth link.net...
Is it possible to manually change the auto-build number used in VS.NET?

Thanks,
Robert

Nov 16 '05 #2
Thanks, but perhaps I should have explained myself better.

I already have set AssemblyInfo.cs appropriately. However the current build
is x.x.1665.x, and soon that 3rd number will increase. Call me old
fashioned but I would like to skip the next number and go directly to
x.x.1667.x. Is that possible?

Robert

"Branimir Giurov" <br******@nospam.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
You can set it as a constant, by editing the assembly.cs file.
The AssemblyVersion attribute:

[assembly AssemblyVersion("1.0.0.0")]

Cheers,
Branimir

--
Branimir Giurov
MCSD.NET, MCDBA
www.sofiadev.org

"Robert Misiak" <rm*****@users.cutthispartout.sourceforge.net> wrote in
message news:Ea******************@newsread1.news.pas.earth link.net...
Is it possible to manually change the auto-build number used in VS.NET?

Thanks,
Robert


Nov 16 '05 #3
The easiest thing to do would be to set your version explicitly to x.x.1667.*

That should get you what you want.

--
C Addison Ritchie, MCSD
Ritch Consulting, Inc.
"Robert Misiak" wrote:
Thanks, but perhaps I should have explained myself better.

I already have set AssemblyInfo.cs appropriately. However the current build
is x.x.1665.x, and soon that 3rd number will increase. Call me old
fashioned but I would like to skip the next number and go directly to
x.x.1667.x. Is that possible?

Robert

"Branimir Giurov" <br******@nospam.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
You can set it as a constant, by editing the assembly.cs file.
The AssemblyVersion attribute:

[assembly AssemblyVersion("1.0.0.0")]

Cheers,
Branimir

--
Branimir Giurov
MCSD.NET, MCDBA
www.sofiadev.org

"Robert Misiak" <rm*****@users.cutthispartout.sourceforge.net> wrote in
message news:Ea******************@newsread1.news.pas.earth link.net...
Is it possible to manually change the auto-build number used in VS.NET?

Thanks,
Robert



Nov 16 '05 #4
Thanks, but this is an ongoing project that has been going on for over a
year - there are new builds at least once a week and frequently a few times
a day, it would be difficult to explicitly set the build number each time.

Robert
"C Addison Ritchie" <CA*************@discussions.microsoft.com> wrote in
message news:4E**********************************@microsof t.com...
The easiest thing to do would be to set your version explicitly to x.x.1667.*
That should get you what you want.

--
C Addison Ritchie, MCSD
Ritch Consulting, Inc.
"Robert Misiak" wrote:
Thanks, but perhaps I should have explained myself better.

I already have set AssemblyInfo.cs appropriately. However the current build is x.x.1665.x, and soon that 3rd number will increase. Call me old
fashioned but I would like to skip the next number and go directly to
x.x.1667.x. Is that possible?

Robert

"Branimir Giurov" <br******@nospam.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
You can set it as a constant, by editing the assembly.cs file.
The AssemblyVersion attribute:

[assembly AssemblyVersion("1.0.0.0")]

Cheers,
Branimir

--
Branimir Giurov
MCSD.NET, MCDBA
www.sofiadev.org

"Robert Misiak" <rm*****@users.cutthispartout.sourceforge.net> wrote in message news:Ea******************@newsread1.news.pas.earth link.net...
> Is it possible to manually change the auto-build number used in VS.NET? >
> Thanks,
> Robert
>
>


Nov 16 '05 #5
You can set it to whatever you want.

-Eric
Nov 16 '05 #6
Just set the value and leave it - not on each build, but on each
deployment.. I agree that the x.x.1667.* format would be best.

The only real requirement is that you change the build number when you
deploy. MSI will not recognize the revision number so each deployed version
must be unique in the major, minor, or build number.

-Eric
Nov 16 '05 #7
This doesn't seem right though because it's been x.x.1665.x for a week or
so. I also just changed the system date and recompiled and it was still
1665. The number must be stored in the project somewhere because I've found
that compiling on a different system will produce a similar build number.

Robert
"C Addison Ritchie" <CA*************@discussions.microsoft.com> wrote in
message news:91**********************************@microsof t.com...
The third number you are worried about is based on the number of days since January 1, 2000. Which means today it is going to be 1665. Tomorrow
(July 24, 2004) it will be the number which we will not mention. :-)
Sunday it will be 1668. So the answer seems to be... don't compile
tomorrow.
--
C Addison Ritchie, MCSD
Ritch Consulting, Inc.
"Robert Misiak" wrote:
Thanks, but this is an ongoing project that has been going on for over a
year - there are new builds at least once a week and frequently a few times a day, it would be difficult to explicitly set the build number each time.
Robert
"C Addison Ritchie" <CA*************@discussions.microsoft.com> wrote in
message news:4E**********************************@microsof t.com...
The easiest thing to do would be to set your version explicitly to

x.x.1667.*

That should get you what you want.

--
C Addison Ritchie, MCSD
Ritch Consulting, Inc.
"Robert Misiak" wrote:

> Thanks, but perhaps I should have explained myself better.
>
> I already have set AssemblyInfo.cs appropriately. However the current
build
> is x.x.1665.x, and soon that 3rd number will increase. Call me old
> fashioned but I would like to skip the next number and go directly
to > x.x.1667.x. Is that possible?
>
> Robert
>
>
>
> "Branimir Giurov" <br******@nospam.com> wrote in message
> news:%2****************@tk2msftngp13.phx.gbl...
> > You can set it as a constant, by editing the assembly.cs file.
> > The AssemblyVersion attribute:
> >
> > [assembly AssemblyVersion("1.0.0.0")]
> >
> > Cheers,
> > Branimir
> >
> > --
> > Branimir Giurov
> > MCSD.NET, MCDBA
> > www.sofiadev.org
> >
> >
> >
> > "Robert Misiak" <rm*****@users.cutthispartout.sourceforge.net> wrote in
> > message

news:Ea******************@newsread1.news.pas.earth link.net... > > > Is it possible to manually change the auto-build number used in

VS.NET?
> > >
> > > Thanks,
> > > Robert
> > >
> > >
> >
> >
>
>
>


Nov 16 '05 #8
Apparently I should have restarted VS.NET when changing the date; when I
changed the date to the 7-25 and restarted VS, I got build #1667. Thanks!

Robert
"C Addison Ritchie" <CA*************@discussions.microsoft.com> wrote in
message news:91**********************************@microsof t.com...
The third number you are worried about is based on the number of days since January 1, 2000. Which means today it is going to be 1665. Tomorrow
(July 24, 2004) it will be the number which we will not mention. :-)
Sunday it will be 1668. So the answer seems to be... don't compile
tomorrow.
--
C Addison Ritchie, MCSD
Ritch Consulting, Inc.
"Robert Misiak" wrote:
Thanks, but this is an ongoing project that has been going on for over a
year - there are new builds at least once a week and frequently a few times a day, it would be difficult to explicitly set the build number each time.
Robert
"C Addison Ritchie" <CA*************@discussions.microsoft.com> wrote in
message news:4E**********************************@microsof t.com...
The easiest thing to do would be to set your version explicitly to

x.x.1667.*

That should get you what you want.

--
C Addison Ritchie, MCSD
Ritch Consulting, Inc.
"Robert Misiak" wrote:

> Thanks, but perhaps I should have explained myself better.
>
> I already have set AssemblyInfo.cs appropriately. However the current
build
> is x.x.1665.x, and soon that 3rd number will increase. Call me old
> fashioned but I would like to skip the next number and go directly
to > x.x.1667.x. Is that possible?
>
> Robert
>
>
>
> "Branimir Giurov" <br******@nospam.com> wrote in message
> news:%2****************@tk2msftngp13.phx.gbl...
> > You can set it as a constant, by editing the assembly.cs file.
> > The AssemblyVersion attribute:
> >
> > [assembly AssemblyVersion("1.0.0.0")]
> >
> > Cheers,
> > Branimir
> >
> > --
> > Branimir Giurov
> > MCSD.NET, MCDBA
> > www.sofiadev.org
> >
> >
> >
> > "Robert Misiak" <rm*****@users.cutthispartout.sourceforge.net> wrote in
> > message

news:Ea******************@newsread1.news.pas.earth link.net... > > > Is it possible to manually change the auto-build number used in

VS.NET?
> > >
> > > Thanks,
> > > Robert
> > >
> > >
> >
> >
>
>
>


Nov 16 '05 #9

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

Similar topics

7
by: David Clark | last post by:
Hi I have two list boxes( i.e. SELECT OPTION ), one is for STATE and second is for CITY. If I change the STATE, CITY should also be updated and of course it will be having respective cities How...
10
by: David Komanek | last post by:
Hi all, I have a question if it is possible to manipulate the settings of character encoding in Ms Internet Explorer 5.0, 5.5 and 6.0. The problem is that the default instalation of Ms IE seems...
3
by: Geoff Soper | last post by:
I'm trying to dynamically change the cursor of a couple of maps over an image. Basically the image is in an online photo system where there is a rotate mode. In this mode clicking on the left or...
0
by: gogram | last post by:
Hi, I am looking to change a frames based webite (3 rows no columns)(top - Nav, middle - Content, bottom - information) to be a tables based site possibly using css. I hav got the frame setting...
2
by: Paolo Pignatelli | last post by:
I am trying to get an output/file like this (below) in an XML file (MyXmlFile.xml) (which I will use for a slide show) -- <gallery timer="3" order="sequential" fadetime="2" looping="yes"...
3
by: qwerty | last post by:
I´m new to ASP.Net. My workmate has some experience with it. He claimed that in ASP.Net working with frames is much simpler than it was ASP. I asked explanation but he couldn't give me such. (a...
6
by: Darian | last post by:
I am wondering how (if it is possible of course) I can change a users screen resolution to a certain size when running my application and then change it back when they exit my application. For...
5
by: Hymer | last post by:
Hello, I have a small two-column table with three rows. The first column has a logo and the second column has the name of the organization. The logo's in the first column are too high. That...
3
by: naurus | last post by:
I have some code that must change the onclick function of a DIV: function navChange(id,auto){ check = fetchById(id + "More").style.display; if(check == "block"){ showLess(id,auto); } ...
3
by: Berlin Brown | last post by:
http://www.w3schools.com/htmldom/prop_frame_scrolling.asp I want to be able to get this example working with Internet explorer. it works fine in firefox. Does anyone have an idea how to resolve...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.