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

前端 未结 2 650
半阙折子戏
半阙折子戏 2020-12-17 20:53

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

相关标签:
2条回答
  • 2020-12-17 21:40

    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.

    0 讨论(0)
  • 2020-12-17 21:44

    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

    0 讨论(0)
提交回复
热议问题