Where's the version info?

  • 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?
 
Gareth said:
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?

In AssemblyInfo.vb, there should be an Assembly attribute named
"AssemblyVersion":

<Assembly: AssemblyVersion("1.0.*")> (VB.Net)
[assembly: AssemblyVersion("1.0.*")] (C#)

HTH,
Mythran
 
Thanks, but there is an assemblyinfo.vb file in the project with the
version number tag.

At runtime I can query the version number using:
System.Reflection.Assembly.GetExecutingAssembly().GetName().Version

Its just in windows that I have the problem, I need to be able to
query the file's version number frm another application.

Cheers,
Gareth
 
Back
Top