none
Version resource in a c# program RRS feed

  • Question

  • Hi,

    In a C++ program, one can select: resource - add - new - VERSION template resulting in an entry in an RC file:

    		VALUE "CompanyName", VCI_CORP
    		VALUE "FileDescription", VCI_FILEDESCRIPTION
    		VALUE "FileVersion", VCI_FILEVERSION
    		VALUE "InternalName", VCI_APPNAME
    		VALUE "LegalCopyright", VCI_LEGALCOPYRIGHT
    		VALUE "OriginalFilename", VCI_ORIGINALFILENAME
    		VALUE "ProductName", VCI_PRODUCTNAME
    		VALUE "ProductVersion", VCI_PRODUCTVERSION
    		VALUE "LegalTrademarks", VCI_LEGALTRADEMARKS
    

    Where  "FileDescription" show up in the Task Manager applications display.  This is useful.

    How do I enter such information in a c# application?

    Boyd


    BDM

    Wednesday, September 27, 2017 6:42 PM

Answers

  • Hi,

    In a C++ program, one can select: resource - add - new - VERSION template resulting in an entry in an RC file:

    		VALUE "CompanyName", VCI_CORP
    		VALUE "FileDescription", VCI_FILEDESCRIPTION
    		VALUE "FileVersion", VCI_FILEVERSION
    		VALUE "InternalName", VCI_APPNAME
    		VALUE "LegalCopyright", VCI_LEGALCOPYRIGHT
    		VALUE "OriginalFilename", VCI_ORIGINALFILENAME
    		VALUE "ProductName", VCI_PRODUCTNAME
    		VALUE "ProductVersion", VCI_PRODUCTVERSION
    		VALUE "LegalTrademarks", VCI_LEGALTRADEMARKS

    Where  "FileDescription" show up in the Task Manager applications display.  This is useful.

    How do I enter such information in a c# application?

    Boyd


    BDM

    In Visual Studio

    1. Open your solution
    2. In Solution Explorer, right click the project that creates your executable and select "Properties"
    3. Select Application from the left side menu
    4. Click on Assembly Information
    5. Enter the desired Title and Description in the dialog box.

    Thanks,



    My Technet Articles

    If you like this or another reply, vote it up!
    If you think this or another reply answers the original question, mark it or propose it as an answer.


    Mauricio Feijo
    www.mauriciofeijo.com



    • Edited by Mauricio Feijo Wednesday, September 27, 2017 6:52 PM
    • Marked as answer by Boyd1 Wednesday, September 27, 2017 7:00 PM
    • Unmarked as answer by Boyd1 Wednesday, September 27, 2017 7:05 PM
    • Marked as answer by Boyd1 Wednesday, September 27, 2017 7:21 PM
    Wednesday, September 27, 2017 6:51 PM

All replies

  • Hi,

    In a C++ program, one can select: resource - add - new - VERSION template resulting in an entry in an RC file:

    		VALUE "CompanyName", VCI_CORP
    		VALUE "FileDescription", VCI_FILEDESCRIPTION
    		VALUE "FileVersion", VCI_FILEVERSION
    		VALUE "InternalName", VCI_APPNAME
    		VALUE "LegalCopyright", VCI_LEGALCOPYRIGHT
    		VALUE "OriginalFilename", VCI_ORIGINALFILENAME
    		VALUE "ProductName", VCI_PRODUCTNAME
    		VALUE "ProductVersion", VCI_PRODUCTVERSION
    		VALUE "LegalTrademarks", VCI_LEGALTRADEMARKS

    Where  "FileDescription" show up in the Task Manager applications display.  This is useful.

    How do I enter such information in a c# application?

    Boyd


    BDM

    In Visual Studio

    1. Open your solution
    2. In Solution Explorer, right click the project that creates your executable and select "Properties"
    3. Select Application from the left side menu
    4. Click on Assembly Information
    5. Enter the desired Title and Description in the dialog box.

    Thanks,



    My Technet Articles

    If you like this or another reply, vote it up!
    If you think this or another reply answers the original question, mark it or propose it as an answer.


    Mauricio Feijo
    www.mauriciofeijo.com



    • Edited by Mauricio Feijo Wednesday, September 27, 2017 6:52 PM
    • Marked as answer by Boyd1 Wednesday, September 27, 2017 7:00 PM
    • Unmarked as answer by Boyd1 Wednesday, September 27, 2017 7:05 PM
    • Marked as answer by Boyd1 Wednesday, September 27, 2017 7:21 PM
    Wednesday, September 27, 2017 6:51 PM
  • Seems to do something but when I view with Task Manager, the app still appears in the list based on the file name of the application, not the by the description as do the c++ applications with the resource as described above.

    Please advise.


    BDM

    Wednesday, September 27, 2017 7:07 PM
  • My bad,

    it is reflected by:

    AssemblyTitle

    Boyd


    BDM

    Wednesday, September 27, 2017 7:22 PM