473,804 Members | 3,742 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3546
On a default project, there's a file called "AssemblyInfo.v b". 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.c om> wrote in message
news:40******** *******@mail.co m...
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.v b". 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.c om> wrote in message
news:40******** *******@mail.co m...
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.c om> wrote in message
news:40******** *******@mail.co m...
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.c om> 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_comp onents.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.v b". The
version number will updated automatically when re-opening the solution.

Getting the program version number:

\\\
MsgBox( _
System.Reflecti on.Assembly.Get ExecutingAssemb ly( _
).GetName().Ver sion.ToString() _
)
///

- or -

\\\
MsgBox( _
System.Windows. Forms.Applicati on.ProductVersi on.ToString() _
)
///

--
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
9177
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 performing a redirect when I had left in print "Content-type:text/html\n\n";
3
2408
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 be used for the excerpts. This means that I have to wrap calls to gettext() in a function that sets the locale temporarily. The problem is how to do that. Let's assume I need to generate German snippets. Then I could say
2
3707
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 (copyright etc.) with Visual Studio? Thank you. Gregory Khrapunovich
3
8321
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 are a couple of people selling components... but that is not really an option for me... So, I took the plunge and modified the "WebUIValidation.js" file to make it happen... After tracing through file, I figure it out. It was actually pretty...
2
1360
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 have a few problems that I am trying to work around. 1) All our sites are created using virtual paths. If I am to adopt the isolated model and develop on each developers machine, when you create
2
1841
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 myself from books and online classes. I tried to follow instructions to creating a new ASP.NET Web Application. The default location for this is http://localhost/WebApplication1 I hit OK then get this message: The Web server reported the...
1
1995
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 relationship. If possible, it seems it would be easier to set up one standard page where the text is blank for each radiobutton, button, or label. The text would then be filled in by specifying the dataset and databinding information via code under the...
4
4133
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 1,2,3,4 respectivly. But Debug.WriteLine(My.Application.Info.Version.Major.ToString)
4
7368
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 in each page refresh or redirect. I really do not have any coding against how the session works. And I have not changed any setting in IIS. I even compared the 2 code(old and new) bases and didn't see anything funny
0
9704
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10561
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10318
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10302
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9132
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7608
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5505
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5639
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.