By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,996 Members | 1,095 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,996 IT Pros & Developers. It's quick & easy.

Changing the Version number

P: n/a
I would like to change the version number that you get as the first part
('1.0.') of string that is returned by "Application.ProductVersion".

Where do I change this?

Any help is greatly appreciated.

May 11 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
If you want to set the product version add this key to your
AssemblyInfo.cs file.

[assembly: AssemblyInformationalVersionAttribute("1.1.0.0")]

Hope this helps.

May 11 '06 #2

P: n/a
Greg,

All you have to do is change the declaration of the AssemblyVersion
attribute in your code. Look for a file called "Assembly.cs" in your
project, or, set it on the properties page in your project properties.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Greg Smith" <gj*@umn.edu> wrote in message
news:OY*************@TK2MSFTNGP02.phx.gbl...
I would like to change the version number that you get as the first part
('1.0.') of string that is returned by "Application.ProductVersion".

Where do I change this?

Any help is greatly appreciated.

May 11 '06 #3

P: n/a
Hello, Greg!

If you have file AssemblyIngfo.cs in your project then you can change
[assembly: AssemblyVersion("1.1.0.0")] to get values you need.

If you have no AssemblyInfo.cs class then you can create code file in your project and in that file
type [assembly: AssemblyVersion("1.1.0.0")]. Doing this will apply assembly attribute with version info.

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
May 11 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.