Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / October 2007

Tip: Looking for answers? Try searching our database.

Where's the version info?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gareth - 02 Oct 2007 08:44 GMT
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?
Mythran - 02 Oct 2007 16:49 GMT
> 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
[quoted text clipped - 6 lines]
>
> 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
Gareth - 03 Oct 2007 08:45 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.