如何修改“文件说明" msbuild(或命令行)执行文件? [英] How do I modify the "File Description" of an executable using msbuild (or command line)?
问题描述
我有一个第三方应用程序正在为我生成可执行文件,但是它在可执行文件的文件描述"和产品名称"详细信息中使用了自己的名称.
I have a 3rd party app that is generating an executable for me, but it's putting its own name into the "File description" and "product name" details of the executable.
当我使用authenticode进行签名时,即使使用我公司的证书签名,它也会导致用户提示显示第三方应用程序名称而不是我自己的名称.
When I sign these with authenticode, it causes the user prompt to show the 3rd party app name rather than my own, even though it's signed with my company's certificate.
是否可以使用某些msbuild任务从命令行修改此内容?我知道有一些任务会在编译之前执行此操作-但在这种情况下,我没有进行编译,而我所拥有的只是已完成的可执行文件.
Is there a way to modify this from the command line, using some msbuild task? I know there are tasks that do this before compilation -- but in this case, I'm not compiling, and all I have is the finalized executable.
推荐答案
我确实使用
这篇关于如何修改“文件说明" msbuild(或命令行)执行文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!