version update in splash screen

  • Thread starter Thread starter cloud
  • Start date Start date
C

cloud

Hi all,

how to update the version number in splashscreen. I am always getting
1.00 as my version number.
I am using visualSVN server.

Thanks for any help
 
How do you set the version number?

Version.Text = System.String.Format(Version.Text,
My.Application.Info.Version.Major, My.Application.Info.Version.Minor)

I think it always takes the publish version ..and it is 1.00
but i need to have the applciation version updated.
 
Hi,
Version.Text = System.String.Format(Version.Text,
My.Application.Info.Version.Major, My.Application.Info.Version.Minor)

I think it always takes the publish version ..and it is 1.00
but i need to have the applciation version updated.

in the Project Settings dialog, on the Application tab, click the "Assembly
Information" button. The "Assembly Version" textboxes contain the values
you need.

Cheers,
Olaf
 
Hi,



in the Project Settings dialog, on the Application tab, click the "Assembly
Information" button. The "Assembly Version" textboxes contain the values
you need.

Cheers,
Olaf

if we want to automatically build the version numbers...how should
this be done.
I think that is manual coding in assemblyinfo.vb
 
Hi,
if we want to automatically build the version numbers...how should
this be done.
I think that is manual coding in assemblyinfo.vb

I don't see why one would want to set version numbers via code which is why
I never dived into that. However, you can make VS increment the revision
number by replacing the appropriate textbox'es value with "*" on the
"Assembly Information" dialog, or you can have the same for the
build-number (in that case, empty the revision number textbox).
See the OH ("AssemblyVersionAttribute Class") for more information on
exactly what happens.

BTW - don't e-mail copies of your postings.

Cheers,
Olaf
 
Hi,



I don't see why one would want to set version numbers via code which is why
I never dived into that. However, you can make VS increment the revision
number by replacing the appropriate textbox'es value with "*" on the
"Assembly Information" dialog, or you can have the same for the
build-number (in that case, empty the revision number textbox).
See the OH ("AssemblyVersionAttribute Class") for more information on
exactly what happens.

BTW - don't e-mail copies of your postings.

Cheers,
Olaf

I am sorry for that...that was a mistake.
we can keep only "*" for build and revision numbers.
For major and minor version it has to be done manually.
can we do automatically the major and minor versions too.
 
Hi,
we can keep only "*" for build and revision numbers.
For major and minor version it has to be done manually.
can we do automatically the major and minor versions too.

not that I know of. But remember that, if you have i.e. the build-no
increment automatically, this is done *everytime* a solution is compiled.
This also applies when you hit F5 i.e. in order to debug.

Cheers,
Olaf
 
Back
Top