Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Visual-Studio VB.NET
Hi All,
 
I have developed 1 simple application to generate payslip, Now I have made some modification to that application and now I have to change the Version number from 1.0 to 1.1, How can I do that so that its displayed during Setup running and also in the Control panel.
Please help me
Posted 12-Mar-13 23:39pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You can change the assembly version through the AssemblyInfo file.
Go through http://msdn.microsoft.com/en-us/library/ms973869.aspx[^] which explains this in further detail.
  Permalink  
Comments
Espen Harlinn at 13-Mar-13 5:41am
   
5'ed!
Abhinav S at 13-Mar-13 5:47am
   
Thank you Espen.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Hi,
 
You can change the version when you double click on "My Project" , next in "Application" -> "Assembly Information ...".
 
There you can set all assembly information.
 
Else you should be able to do with the file "AssemblyInfo.vb"
 
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices
 
' General Information about an assembly is controlled through the following 
' set of attributes. Change these attribute values to modify the information
' associated with an assembly.
 
' Review the values of the assembly attributes
 
<assembly: xmlns:assembly="#unknown"> 
<assembly:> 
<assembly:> 
<assembly:> 
<assembly:> 
<assembly:> 
 
<assembly:>
 
'The following GUID is for the ID of the typelib if this project is exposed to COM
<assembly:> 
 
' Version information for an assembly consists of the following four values:
'
'      Major Version
'      Minor Version 
'      Build Number
'      Revision
'
' You can specify all the values or you can default the Build and Revision Numbers 
' by using the '*' as shown below:
' <assembly:> 
 
<assembly:> 
<assembly:> 
</assembly:></assembly:></assembly:></assembly:></assembly:></assembly:></assembly:></assembly:></assembly:></assembly:></assembly:>
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 8,284
1 Sergey Alexandrovich Kryukov 7,327
2 DamithSL 5,614
3 Manas Bhardwaj 4,986
4 Maciej Los 4,920


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 13 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100