c++windowswinapiconsolevcxproj

Change Task Manger title for win32 console app


I am trying to change the name of my win32 console application in task manager. In c# console project I can set the AssemblyTitle in project file and it would work but for some reason when I can't achieve the same result here.


Solution

  • First, right-click the Resource file to add a .rc file.

    enter image description here

    Then double-click the .rc file to enter the resource view, right-click the resource file and select Add Resource, and select Version.

    enter image description here

    In the VS_VERSION_INFO, you can modify the FileDescription to your application name (of course you can also modify other application information.).

    enter image description here

    Finally build the project and this works for me.

    enter image description here