Hi
How can I change the product version number that is returned by
Application.Pro ductVersion?
Thanks
Regards 8 1801
Hi,
You can change it in the AssemblyInfo.vb file.
Ken
--------------
"John" <jo**@nospam.in fovis.co.uk> wrote in message
news:uj******** *****@tk2msftng p13.phx.gbl... Hi
How can I change the product version number that is returned by Application.Pro ductVersion?
Thanks
Regards
John,
As Ken stated, you change it in the AssemblyInfo.vb file. Actually you
change it with AssemblyInforma tionVersion attribute, which I normally place
in the AssemblyInfo.vb file along with all the other attributes dealing with
the assembly.
Normally you will only find the AssemblyVersion attribute in the
AssemblyInfo.vb file. You can add the AssemblyInforma tionVersion and
AssemblyFileVer sion attributes if you want. All three values will use
AssemblyVersion if you do not include the other two attributes.
AssemblyVersion - the version number of the assembly.
AssemblyInforma tionVersion - the version number of the product itself
AssemblyFileVer sion - the version number of the file
In my current project I am using both the AssemblyVersion number & the
AssemblyInforma tionVersion.
Hope this helps
Jay
"John" <jo**@nospam.in fovis.co.uk> wrote in message
news:uj******** *****@tk2msftng p13.phx.gbl... Hi
How can I change the product version number that is returned by Application.Pro ductVersion?
Thanks
Regards
There is an * in the version number. Where is the value for * coming from?
Also, is there an automatic way to increase the no with every build?
Thanks
Regards
"Jay B. Harlow [MVP - Outlook]" <Ja********@ema il.msn.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. John, As Ken stated, you change it in the AssemblyInfo.vb file. Actually you change it with AssemblyInforma tionVersion attribute, which I normally
place in the AssemblyInfo.vb file along with all the other attributes dealing
with the assembly.
Normally you will only find the AssemblyVersion attribute in the AssemblyInfo.vb file. You can add the AssemblyInforma tionVersion and AssemblyFileVer sion attributes if you want. All three values will use AssemblyVersion if you do not include the other two attributes.
AssemblyVersion - the version number of the assembly. AssemblyInforma tionVersion - the version number of the product itself AssemblyFileVer sion - the version number of the file
In my current project I am using both the AssemblyVersion number & the AssemblyInforma tionVersion.
Hope this helps Jay
"John" <jo**@nospam.in fovis.co.uk> wrote in message news:uj******** *****@tk2msftng p13.phx.gbl... Hi
How can I change the product version number that is returned by Application.Pro ductVersion?
Thanks
Regards
John, Also, is there an automatic way to increase the no with every build?
The * in the version number, is the automatic way of changing the number
with every build, note it does not actually increment the number.
The * actually causes the current date & time to be encoded into the build
number, I'm not sure if its actual date & time or when you last started
VS.NET.
I believe the only way to get different behavior is to modify the file
during the build event with a VS.NET add-in or macro.
Hope this helps
Jay
"John" <jo**@nospam.in fovis.co.uk> wrote in message
news:OB******** ******@TK2MSFTN GP12.phx.gbl... There is an * in the version number. Where is the value for * coming from? Also, is there an automatic way to increase the no with every build?
Thanks
Regards
"Jay B. Harlow [MVP - Outlook]" <Ja********@ema il.msn.com> wrote in
message news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. John, As Ken stated, you change it in the AssemblyInfo.vb file. Actually you change it with AssemblyInforma tionVersion attribute, which I normally place in the AssemblyInfo.vb file along with all the other attributes dealing with the assembly.
Normally you will only find the AssemblyVersion attribute in the AssemblyInfo.vb file. You can add the AssemblyInforma tionVersion and AssemblyFileVer sion attributes if you want. All three values will use AssemblyVersion if you do not include the other two attributes.
AssemblyVersion - the version number of the assembly. AssemblyInforma tionVersion - the version number of the product itself AssemblyFileVer sion - the version number of the file
In my current project I am using both the AssemblyVersion number & the AssemblyInforma tionVersion.
Hope this helps Jay
"John" <jo**@nospam.in fovis.co.uk> wrote in message news:uj******** *****@tk2msftng p13.phx.gbl... Hi
How can I change the product version number that is returned by Application.Pro ductVersion?
Thanks
Regards
* "John" <jo**@nospam.in fovis.co.uk> scripsit: How can I change the product version number that is returned by Application.Pro ductVersion?
Basic information on versioning:
<http://msdn.microsoft. com/library/en-us/dndotnet/html/managevers.asp>
<http://msdn.microsoft. com/library/en-us/dnbda/html/tdlg_ch5.asp>
<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.
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
I have got AssemblyVersion ("1.0.*") in my assembly.vb. No matter how many times I reopen, change or rebuild the project, my build remains the same. For some reason automatic build increment is not working for me. Any ideas?
"Jay B. Harlow [MVP - Outlook]" <Ja********@ema il.msn.com> wrote in message news:e%******** *******@TK2MSFT NGP10.phx.gbl.. . John, Also, is there an automatic way to increase the no with every build? The * in the version number, is the automatic way of changing the number with every build, note it does not actually increment the number. The * actually causes the current date & time to be encoded into the build number, I'm not sure if its actual date & time or when you last started VS.NET. I believe the only way to get different behavior is to modify the file during the build event with a VS.NET add-in or macro. Hope this helps Jay "John" <jo**@nospam.in fovis.co.uk> wrote in message news:OB******** ******@TK2MSFTN GP12.phx.gbl... There is an * in the version number. Where is the value for * coming from? Also, is there an automatic way to increase the no with every build?
Thanks
Regards
"Jay B. Harlow [MVP - Outlook]" <Ja********@ema il.msn.com> wrote in message news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. John, As Ken stated, you change it in the AssemblyInfo.vb file. Actually you change it with AssemblyInforma tionVersion attribute, which I normally place in the AssemblyInfo.vb file along with all the other attributes dealing with the assembly.
Normally you will only find the AssemblyVersion attribute in the AssemblyInfo.vb file. You can add the AssemblyInforma tionVersion and AssemblyFileVer sion attributes if you want. All three values will use AssemblyVersion if you do not include the other two attributes.
AssemblyVersion - the version number of the assembly. AssemblyInforma tionVersion - the version number of the product itself AssemblyFileVer sion - the version number of the file
In my current project I am using both the AssemblyVersion number & the AssemblyInforma tionVersion.
Hope this helps Jay
"John" <jo**@nospam.in fovis.co.uk> wrote in message news:uj******** *****@tk2msftng p13.phx.gbl... > Hi > > How can I change the product version number that is returned by > Application.Pro ductVersion? > > Thanks > > Regards > >
John,
Not sure what to offer, as it works for me.
Which version of VS.NET are you using? VS.NET 2002, VS.NET 2003, a pre 2002
beta, or the Whidbey beta/preview?
Hope this helps
Jay
"John" <jo**@nospam.in fovis.co.uk> wrote in message
news:%2******** *******@TK2MSFT NGP12.phx.gbl.. .
I have got AssemblyVersion ("1.0.*") in my assembly.vb. No matter how many
times I reopen, change or rebuild the project, my build remains the same.
For some reason automatic build increment is not working for me. Any ideas?
"Jay B. Harlow [MVP - Outlook]" <Ja********@ema il.msn.com> wrote in message
news:e%******** *******@TK2MSFT NGP10.phx.gbl.. . John, Also, is there an automatic way to increase the no with every build? The * in the version number, is the automatic way of changing the number with every build, note it does not actually increment the number.
The * actually causes the current date & time to be encoded into the build number, I'm not sure if its actual date & time or when you last started VS.NET.
I believe the only way to get different behavior is to modify the file during the build event with a VS.NET add-in or macro.
Hope this helps Jay
"John" <jo**@nospam.in fovis.co.uk> wrote in message news:OB******** ******@TK2MSFTN GP12.phx.gbl... There is an * in the version number. Where is the value for * coming
from? Also, is there an automatic way to increase the no with every build?
Thanks
Regards
"Jay B. Harlow [MVP - Outlook]" <Ja********@ema il.msn.com> wrote in message news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. John, As Ken stated, you change it in the AssemblyInfo.vb file. Actually you change it with AssemblyInforma tionVersion attribute, which I normally place in the AssemblyInfo.vb file along with all the other attributes
dealing with the assembly.
Normally you will only find the AssemblyVersion attribute in the AssemblyInfo.vb file. You can add the AssemblyInforma tionVersion and AssemblyFileVer sion attributes if you want. All three values will use AssemblyVersion if you do not include the other two attributes.
AssemblyVersion - the version number of the assembly. AssemblyInforma tionVersion - the version number of the product itself AssemblyFileVer sion - the version number of the file
In my current project I am using both the AssemblyVersion number & the AssemblyInforma tionVersion.
Hope this helps Jay
"John" <jo**@nospam.in fovis.co.uk> wrote in message news:uj******** *****@tk2msftng p13.phx.gbl... > Hi > > How can I change the product version number that is returned by > Application.Pro ductVersion? > > Thanks > > Regards > >
vs.net 2003 upgrade
"Jay B. Harlow [MVP - Outlook]" <Ja********@ema il.msn.com> wrote in message
news:e$******** ******@TK2MSFTN GP10.phx.gbl... John, Not sure what to offer, as it works for me.
Which version of VS.NET are you using? VS.NET 2002, VS.NET 2003, a pre
2002 beta, or the Whidbey beta/preview?
Hope this helps Jay
"John" <jo**@nospam.in fovis.co.uk> wrote in message news:%2******** *******@TK2MSFT NGP12.phx.gbl.. . I have got AssemblyVersion ("1.0.*") in my assembly.vb. No matter how many times I reopen, change or rebuild the project, my build remains the same. For some reason automatic build increment is not working for me. Any
ideas?
"Jay B. Harlow [MVP - Outlook]" <Ja********@ema il.msn.com> wrote in
message news:e%******** *******@TK2MSFT NGP10.phx.gbl.. . John, Also, is there an automatic way to increase the no with every build? The * in the version number, is the automatic way of changing the number with every build, note it does not actually increment the number.
The * actually causes the current date & time to be encoded into the
build number, I'm not sure if its actual date & time or when you last started VS.NET.
I believe the only way to get different behavior is to modify the file during the build event with a VS.NET add-in or macro.
Hope this helps Jay
"John" <jo**@nospam.in fovis.co.uk> wrote in message news:OB******** ******@TK2MSFTN GP12.phx.gbl... There is an * in the version number. Where is the value for * coming from? Also, is there an automatic way to increase the no with every build?
Thanks
Regards
"Jay B. Harlow [MVP - Outlook]" <Ja********@ema il.msn.com> wrote in
message news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. > John, > As Ken stated, you change it in the AssemblyInfo.vb file. Actually
you > change it with AssemblyInforma tionVersion attribute, which I
normally place > in the AssemblyInfo.vb file along with all the other attributes dealing with > the assembly. > > Normally you will only find the AssemblyVersion attribute in the > AssemblyInfo.vb file. You can add the AssemblyInforma tionVersion and > AssemblyFileVer sion attributes if you want. All three values will
use > AssemblyVersion if you do not include the other two attributes. > > AssemblyVersion - the version number of the assembly. > AssemblyInforma tionVersion - the version number of the product
itself > AssemblyFileVer sion - the version number of the file > > In my current project I am using both the AssemblyVersion number &
the > AssemblyInforma tionVersion. > > Hope this helps > Jay > > "John" <jo**@nospam.in fovis.co.uk> wrote in message > news:uj******** *****@tk2msftng p13.phx.gbl... > > Hi > > > > How can I change the product version number that is returned by > > Application.Pro ductVersion? > > > > Thanks > > > > Regards > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jochen Demuth |
last post by:
Hi, I am trying to install ZWiki on Zope 2.5.1 / Debian 2.4.20-bf2.4-xfs.
First I copied the contents of the ZWiki-0.32.0.tgz to the
Products-directory under SOFTWARE_HOME:
This is what it contained before:
server1:/usr/lib/zope/lib/python/Products# ls
ExternalMethod PageTemplates StandardCacheManagers ZSQLMethods
Hotfix_2002-06-14 PluginIndexes TemporaryFolder ZopeTutorial
|
by: Bob Lehmann |
last post by:
Hi,
I posted this in the vstudio.setup group 2 days ago without an answer so
far. Sorry about the OT, but I thought someone here may be able to help.
Visual Studio Enterprise Architect 2003, Special Upgrade for for version
2002 customers.
I had to replace the hard drive on my laptop, and when reinstalling VS
Enterprise Architect 2003 it would not accept the Product Key as being
|
by: Keith |
last post by:
I am using the FileVersionInfo class and want to know which is most commonly
accepted: the File version or the Product version?
When I use the UI to look at \\myServer\Program Files\Common
Files\System\ado\msado15.dll
I get 2.70.9001.0 for both the File and Product versions.
When I look at some Custom and Third Party COM I get mixed results:
1.01.0001 for Product, 1.1.0.1 for File version.
|
by: dtsearch |
last post by:
Press Contact:
Belinda Banks
S&S Public Relations
(212) 946-2823
Belinda@sspr.com
Announcing New dtSearch® Product Line Version
Release Enhances Indexing, Searching and Display of MS Word, Excel,
PowerPoint and Outlook; Also Adds An Additional Feature for Forensics
|
by: dtsearch |
last post by:
Announcing dtSearch® Product Line Release With New Terabyte Indexer
New Version Can Index Over a Terabyte of Text in a Single Index,
With Indexed Search Time Typically Under a Second
BETHESDA, MD (May 24, 2005) dtSearch Corp., a leading supplier of
enterprise, end-user and developer text retrieval software, announces
Version 7 of its product line. The product line can now instantly
search terabytes of text across a desktop, network,...
| |
by: BuddyWork |
last post by:
Hello,
When a particular user (has administrator rights) on a Windows 2000
Server SP4 tries to run any MSI's we get the message mentioned in the
subject. If we logon with another user that has administrator rights
then it works, if we create a new administrator user then it does NOT
work,
Here is the MSI log, please help as this is causing problems as only 3
users on this box are able to run MSI where are about 15 other users
|
by: Rob R. Ainscough |
last post by:
I have an older application that was installed via msi approach (setup via
InstallShield), however, it has a different product code than the new
version (setup via Deployment Project in a VS 2005 solution) I want to
install. As a result my newer version does not identify the older version
because the product code is different (so it doesn't uninstall it first).
What I'd like to do is setup a Launch Condition that first uninstalls my
prior...
|
by: Michael A. Covington |
last post by:
I have a software product which I deploy as an .msi package generated with
Visual Studio 2005.
After I rebuild it for a minor change, I cannot install the new .msi over
the old one. Instead I'm told to go to Add/Remove Programs and uninstall
the old version first.
This did not happen when I was using Visual Studio 2003. What changed, and
how can I get the original behavior back? I would like for later builds of
the same version to...
|
by: David Troxell - Encourager Software |
last post by:
Product Scope 7 (http://www.encouragersoftware.com/) and Profile Exchanges
enhanced with SetupCast publishing methods
NOTE: If you are a software author, releasing commercial and/or shareware
software, this announcement will be of interest to you - particularly our
Shareware and Search Engine Profile Exchanges - Even our Clarion 3rd Party
Profile Exchange displays over 60 NON-Clarion products of interest to
Developers including...
|
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...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |