how to set EXE file version and copyright ?

  • Thread starter Thread starter barbara_dave
  • Start date Start date
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 !
 
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
 
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.
 
Back
Top