-
September 29th, 2010, 01:36 PM
#1
[RESOLVED] Accessing AssemblyInfo.cs
Probably a stupid question, but I can't figure out how to access my AssemblyInfo property for AssemblyFileVersion so that I can display it in my main Dialog.
Quick answer?
Thx
-
September 30th, 2010, 05:53 AM
#2
Re: Accessing AssemblyInfo.cs
Code:
Assembly a = ... // e.g. a = Assembly.GetEntryAssembly();
Version version = a.GetName().Version;
- Make it run.
- Make it right.
- Make it fast.
Don't hesitate to rate my post.
-
September 30th, 2010, 09:37 AM
#3
Re: Accessing AssemblyInfo.cs
Thank you very much. This is exactly what I've been groping in the dark to figure out ;-)
Works perfectly.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|