Warm tip: This article is reproduced from serverfault.com, please click

Change Task Manger title for win32 console app

发布于 2020-11-27 14:51:31

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.

Questioner
SoumyaMahunt
Viewed
0
Song Zhu - MSFT 2020-11-30 16:29:42

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