[RESOLVED] Accessing AssemblyInfo.cs
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: [RESOLVED] Accessing AssemblyInfo.cs

  1. #1
    Join Date
    Aug 2010
    Posts
    3

    [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

  2. #2
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    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.

  3. #3
    Join Date
    Aug 2010
    Posts
    3

    Resolved 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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center