|
-
Jul 6th, 2002, 11:21 PM
#1
where can I change versioning info stuff?
In VB6 when you go to project properties (I think) there is a place where you can select the version of the app, fill out company info and those stuff. I looked in the menus, but I cant find such a thing.... where is this located in VS.NET?
Last edited by MrPolite; Jul 7th, 2002 at 04:16 AM.
-
Jul 6th, 2002, 11:41 PM
#2
Double click the AssemblyInfo.vb file in your project. It is in there.
-
Jul 7th, 2002, 04:17 AM
#3
thanks man 
I have another question about the assembly version. When you use the "*" character it means that that number will be the ONLY number to change during the build? do I have to manually change the numbers or should I leave it the way it is? my app ver is 1.0.917.38123 currently
-
Jul 26th, 2002, 01:04 AM
#4
Junior Member
Manually change the numbers.
Also, thanks to Hellswraith for pointing this out. I had also been wondering about this for a while myself.
-
Jul 26th, 2002, 05:41 AM
#5
Lively Member
How do you call/show the version number though and title, ect?
Any tutorials on how?
-
Jul 26th, 2002, 10:35 AM
#6
Check the help for a page by this name 'App Object Changes in Visual Basic .NET'. The following can be reached through the Application object:
ProductName
ProductVersion
CompanyName
ExecutablePath
-
Jul 28th, 2002, 08:31 PM
#7
Lively Member
Finally able to get back in here, these forums haven't been working for me for the last week or two.
Thanks for that Edneeis, thats got it working now. It seems they have an AssemblyTitle line but no way to call it as it's not supported, wonder why they left it like that.
Thanks again
-
Oct 13th, 2003, 11:28 PM
#8
Hyperactive Member
Version Numbering Changes in Visual Basic .NETSee Also
App Object Changes in Visual Basic .NET | Attributes
In Visual Basic 6.0, setting the Major, Minor, and Revision properties of the App object controlled the version number for an application. For example, setting Major to 1, Minor to 2, and Revision to 3 resulted in a version number of 1.2.0.3.
In Visual Basic .NET, the version number properties are replaced by the AssemblyVersion attribute, which has four parts: Major, Minor, Revision, and Build. For the above example, the resulting version number would be 1.2.3.x, where x is a build number that is incremented each time the assembly is built.
I have
Code:
<Assembly: AssemblyVersion("1.0.*")>
but the "x" part of it is not upgrading with each build.
"The passion lives to keep your faith, though all are different, all are great" ... Michael Hutchence 1960-1997.
Windows & Web Developer
Specialising in Visual Basic .Net & Client Server Programming & Client/Customer Relations Databases
Sutherland Shire, Sydney Australia
www.stingrae.com.au
Developer of Arnold - Gym & Martial Arts Database Management System
www.gymdatabase.com.au
-
Oct 13th, 2003, 11:56 PM
#9
PowerPoster
which has four parts: Major, Minor, Revision, and Build
You only have 3 parts in yours.....Major, Minor, Revision. You are missing one. Try this:
Code:
<Assembly: AssemblyVersion("1.0.0.*")>
Also, I am not sure about this, but will the build number increase when building in debug mode? Not sure about that. Someone may want to check that out sometime. If I get to it first, I will post the results.
-
Oct 14th, 2003, 12:07 AM
#10
Hyperactive Member
thanks for that.
"The passion lives to keep your faith, though all are different, all are great" ... Michael Hutchence 1960-1997.
Windows & Web Developer
Specialising in Visual Basic .Net & Client Server Programming & Client/Customer Relations Databases
Sutherland Shire, Sydney Australia
www.stingrae.com.au
Developer of Arnold - Gym & Martial Arts Database Management System
www.gymdatabase.com.au
-
Oct 14th, 2003, 12:08 AM
#11
Frenzied Member
I have seen strange behavior of this build number. Sometimes it does not increase by building, some times it just increase out of order. I dont know whats happening. Moving your application to another dev machine also changes the build number.
'Heading for the automatic overload'
Marillion, Brave, The Great Escape, 1994
'How will WE stand the FIRE TOMORROW?'
Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979
-
Oct 14th, 2003, 02:07 AM
#12
VS increases the build number whenever it gets horny.. it depends how horny it gets though
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jan 5th, 2004, 06:53 AM
#13
Addicted Member
Kudos to hellswraith for pointing me out the AssemblyInfo.vb. I used to Open the EXE everytime I finish building it and ready to release, and change the CompanyName from there.
-
Aug 21st, 2005, 05:03 PM
#14
New Member
Re: where can I change versioning info stuff?
It's so nice when you found needed answer without posting just searching a bit. Thanks hellswraith for poiting to assembly file, I was searching same info as MrPolite
Yet, There is so much to be done.
-
Aug 21st, 2005, 06:06 PM
#15
Re: where can I change versioning info stuff?
wow this is the fourth time this thread has been bumped up
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Aug 21st, 2005, 06:16 PM
#16
Re: where can I change versioning info stuff?
I can't remember exactly how it works as it's a while since I read about it, but when you accept defaults for the build and revision numbers they are set according to the current date and time. I think that the build is based on the date and the revision is based on the time. I'll see if I can find the place I read this and post a link.
Also, you can get some of the values from the AsemblyInfo file using the Application class but you can get them all using Reflection.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|