473,383 Members | 1,892 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,383 software developers and data experts.

Setting version info

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
4 3524
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
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
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
* 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: bagsmode | last post by:
Hi, I'm trying to set a session cookie and then redirect, however I get the error: Status: 302 Moved Location: /index.cgi I thought I recall getting an error like this when I first tried...
3
by: Torsten Bronger | last post by:
Hallöchen! I have to generate excerpts in different human languages in a program. In general, the language is not the locale's language, but set at runtime. Nevertheless, GNU's gettext should...
2
by: Gregory Khrapunovich | last post by:
I am sorry for such a simple question, but I cannot find the way to set version info for my Windows Forms C# project. I am using Visual Studio .Net 2003. How can I set version and other data...
3
by: Steve Yerkes | last post by:
There seems to be way too much confusion over how to set focus on the a field using a field validator. I looked all over the web and found people trying to do this, but not getting anywhere. There...
2
by: Ralph | last post by:
Hi, I've done a bit of reading on setting up an Isolated .NET environment for each of my developers. We all run Windows XP Pro, IIS and have local instances of SQL Server for development. I...
2
by: M Skabialka | last post by:
I installed Visual Studio Beta 2005 but setting up the SQL server was so complex I uninstalled it and put Visual Studio 2003 Academic on. I am totally new to Visual Studio and trying to teach...
1
by: Frank Yamrick | last post by:
I am trying to program an application that requires a large number of screnes that are very similar in the respect that all the bottons and labels interact with each other with the same...
4
by: Miro | last post by:
Sorry for all the posts today. Just not been a good day. I cant seem to figure out version numbering. I click on the MyProject and set up the Major, Minor, MajorRevision, MinorRevision as ...
4
by: SevDer | last post by:
Hi, I've done some coding in my web application however right now for an unknown reason my asp.net 2.0 site is not setting asp.net_sessionid cookie and as a result, I am losing the session data...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.