Where's the version information?

  • Thread starter Thread starter Gareth
  • Start date Start date
G

Gareth

I am having a problem with version information in one of my compact
framework 2.0 VB.Net application which I am designing in Visual Studio
2005. After I compile the executable there is no version information
available when viewing the file's properties in Windows.

All my other projects have version information which is visible in
Windows but I can't see any difference between these other projects
and the one in question.

Any ideas?
 
I already have SP1 installed. Could it be some option or settings
which I am missing because my other 2005 cf.net 2.0 projects have
version numbers....

Cheers for the help,
Gareth
 
Was the project created new with SP1 or was it originally created before you
applied the service pack? So long as you have an AssemblyInfo.vb file with
the assembly attributes (or you set them through the projects Properties)
they will be built into the exe.

Peter
 
You'd think that but they don't....

I have the AssemblyInfo .vb in the project with the version tag in it
but it doesn't appear in the exe's properties. I can query the
version number at runtime using
System.Reflection.Assembly.GetExecutingAssembly().GetName().Version
and it works fine.

Any more thoughts?

Thanks,
Gareth
 
Back
Top