HighTechTalks DotNet Forums  

Where's the version information?

Dotnet Framework (Compact Framework) microsoft.public.dotnet.framework.compactframework


Discuss Where's the version information? in the Dotnet Framework (Compact Framework) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Gareth
 
Posts: n/a

Default Where's the version information? - 10-02-2007 , 03:45 AM






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?


Reply With Quote
  #2  
Old   
Peter Foot [MVP]
 
Posts: n/a

Default Re: Where's the version information? - 10-02-2007 , 06:33 AM






Yes, there is an issue in Visual Studio 2005 where it doesn't add a native
version resource to a Visual Basic .NETCF v2.0 exe (works fine with dlls).
It should be resolved by installing VS2005 Service Pack 1.
http://www.microsoft.com/downloads/d...displaylang=en

Peter

--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility

"Gareth" <garethwins (AT) gmail (DOT) com> wrote

Quote:
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?



Reply With Quote
  #3  
Old   
Gareth
 
Posts: n/a

Default Re: Where's the version information? - 10-02-2007 , 07:33 AM



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


Reply With Quote
  #4  
Old   
Peter Foot [MVP]
 
Posts: n/a

Default Re: Where's the version information? - 10-02-2007 , 08:31 AM



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

--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility

"Gareth" <garethwins (AT) gmail (DOT) com> wrote

Quote:
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



Reply With Quote
  #5  
Old   
Gareth
 
Posts: n/a

Default Re: Where's the version information? - 10-03-2007 , 03:47 AM



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


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.