How can I set the Task Manager description for my program?

故事扮演 提交于 2019-11-28 00:31:22

问题


I have a CLI program and I'd like to modify the description shown for it in Windows Task Manager.

I tried setting Description in the Assembly Info, but this only changes the .exe's Properties > Details.


回答1:


Under the Project properties, click Assembly Information and set the Title field. You'll have to run without debugging to see the description display correctly in Task Manager.




回答2:


I think, if in AssemblyInfo:

[assembly: AssemblyProduct("")]

and

[assembly: AssemblyTitle("")]

both are set, then AssemblyProduct wins for Taskmanager description. If only AssemblyTitle is set, then it's shown as description



来源:https://stackoverflow.com/questions/12408496/how-can-i-set-the-task-manager-description-for-my-program

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!