By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,045 Members | 1,305 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,045 IT Pros & Developers. It's quick & easy.

Setting version info

P: n/a
Where in a VB.NET project do you get to set the version properties of
your executable? Version number, Copyright, biuld comments, etc (the
stuff that shows up when you right-click Properties/Version)?

Thanks

drc
Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
On a default project, there's a file called "AssemblyInfo.vb". Fill out the
attributes included in there.

They are also documented in the MSDN reference.
--
Klaus H. Probst, MVP
http://www.vbbox.com/
"Dave Cullen" <no*****@mail.com> wrote in message
news:40***************@mail.com...
Where in a VB.NET project do you get to set the version properties of
your executable? Version number, Copyright, biuld comments, etc (the
stuff that shows up when you right-click Properties/Version)?

Thanks

drc

Nov 20 '05 #2

P: n/a
Thank you muchly.

drc
"Klaus H. Probst" wrote:

On a default project, there's a file called "AssemblyInfo.vb". Fill out the
attributes included in there.

They are also documented in the MSDN reference.

--
Klaus H. Probst, MVP
http://www.vbbox.com/

"Dave Cullen" <no*****@mail.com> wrote in message
news:40***************@mail.com...
Where in a VB.NET project do you get to set the version properties of
your executable? Version number, Copyright, biuld comments, etc (the
stuff that shows up when you right-click Properties/Version)?

Thanks

drc

Nov 20 '05 #3

P: n/a
Dave,

In the AssemblyInfo.vb file. Check it out!

Telmo Sampaio

"Dave Cullen" <no*****@mail.com> wrote in message
news:40***************@mail.com...
Where in a VB.NET project do you get to set the version properties of
your executable? Version number, Copyright, biuld comments, etc (the
stuff that shows up when you right-click Properties/Version)?

Thanks

drc

Nov 20 '05 #4

P: n/a
* Dave Cullen <no*****@mail.com> scripsit:
Where in a VB.NET project do you get to set the version properties of
your executable? Version number, Copyright, biuld comments, etc (the
stuff that shows up when you right-click Properties/Version)?


In addition to the other replies, some information about versioning:

Basic information on versioning:

<URL:http://msdn.microsoft.com/library/en-us/dndotnet/html/managevers.asp>
<URL:http://msdn.microsoft.com/library/en-us/dnbda/html/tdlg_ch5.asp>
<URL:http://msdn.microsoft.com/library/en-us/cptutorials/html/versioning_components.asp>

Parts of the version number:

Main version
"Product" version.

Sub version
Sub version, for example Service Pack.

Build
During development, auto-increment.

Revision
Hotfix or Quick Fix Engineering (QFE).

When using auto incrementation of numbers, the build number contains the
number of days since January, 2000; the revision contains the number of
seconds since midnight divided by 2.

The version number can be changed in the file "AssemblyInfo.vb". The
version number will updated automatically when re-opening the solution.

Getting the program version number:

\\\
MsgBox( _
System.Reflection.Assembly.GetExecutingAssembly( _
).GetName().Version.ToString() _
)
///

- or -

\\\
MsgBox( _
System.Windows.Forms.Application.ProductVersion.To String() _
)
///

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.