Setting file version number in Visual Studio 2005 C++

前端 未结 4 949
难免孤独
难免孤独 2021-02-13 11:09

Can anyone point me in the right direction how to configure Visual Studio 2005 with our C++ console project how we can include a \'File Version\' in the details section of the f

4条回答
  •  不知归路
    2021-02-13 11:39

    You have to have one VS_VERSION_INFO section in your resource (*.rc) file(s) that compile into your project.

    In the Visual Studio 2005 Solution Explorer, open the context menu on your C++ project and choose Add, Resource.

    Mark Version and click "New".

    Fill in the fields as desired and save the file.

    Build.

    Now your project output has a FileInfo resource.

    Please be aware that Windows Vista does not show all available version info in the Explorer context menu's "Details" tab.

提交回复
热议问题