how to set EXE file version and copyright ?

B

barbara_dave

Hi all,

I made an application program. I'd like to set Exe file version and
Copyright, so they will be shown when the user right clicks exe file
property. In VB 6.0, you can do it when you compile the program to an
exe file. How to do that in VB.net ?

Thanks !
 
A

Arne Janning

Hi Barbara!

I made an application program. I'd like to set Exe file version and
Copyright, so they will be shown when the user right clicks exe file
property. In VB 6.0, you can do it when you compile the program to an
exe file. How to do that in VB.net ?

Have a look at the AssemblyInfo.vb-File (if you are using VS.NET) or add the
following attributes to your code:

<Assembly: AssemblyTitle("")>
<Assembly: AssemblyDescription("")>
<Assembly: AssemblyCompany("")>
<Assembly: AssemblyProduct("")>
<Assembly: AssemblyCopyright("")>
<Assembly: AssemblyTrademark("")>
<Assembly: AssemblyVersion("1.0.*")>

Cheers

Arne Janning
 
P

Phill. W

Arne Janning said:
Hi Barbara!



Have a look at the AssemblyInfo.vb-File (if you are using VS.NET) or
add the following attributes to your code:
. . .
<Assembly: AssemblyVersion("1.0.*")>

///Please/// change this last to

<Assembly: AssemblyVersion("1.0.0.0")>

As soon as you move into creating DLL's, and /especially/ if you
want to put these into the Global Assembly Cache, leaving the
asterisks in this attribute will come back to haunt you.
/You/ know what version you're creating, so put it in there explicitly.

Regards,
Phill W.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top