强名称、清单和代码签名
这些应该按什么顺序进行? 我正在从 .Net 应用程序的命令提示符处执行此操作。 我能够成功地进行强名称和代码签名,但是当我尝试所有三个时,它看起来不起作用(==> Vista 仍然尝试以提升的权限运行应用程序,导致出现提示,尽管我在 asInvoker 设置请求的执行级别)
提前致谢
What order should these be done in? I'm doing this from the command prompt for a .Net app. I was able to do just strong name and code signing successfully, but when I tried all three, it doesn't look like it worked (==> Vista still trying to run the app with elevated privileges resulting in a prompt, though I set the requestedexecutionlevel at asInvoker)
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Brian,
“Vista 仍然尝试以更高的权限运行应用程序,导致出现提示”
我认为代码签名无法避免以更高权限运行的提示,代码签名唯一避免的就是警告“来自未知编辑器的应用程序” ”。
Brian,
"Vista still trying to run the app with elevated privileges resulting in a prompt"
I think the prompt for running with higher privileges cannot be avoided by code signing, the only thing you avoid with code signing is the warning "application from unkown editor".
在我看来,顺序应该如下:
这似乎现在有效。 不确定我是否有 1 & 2 之前或者如果我在命令提示符处做错了什么(我有一个 ;#2 标记到输出资源——来自示例命令——我认为这是不正确的)。 关于这一点,有谁知道命令行工具的良好参考吗? 我去过 msdn 页面,但他们假定有很多基础知识。
It looks to me like the order should be the following:
This seems to be working now. Not sure if I had 1 & 2 backwards before or if I did something wrong at the command prompt (I had a ;#2 tagged to the output resource--from a sample command--that I think is incorrect). On that note, does anyone know a good reference for the command line tools? I've been to the msdn pages, but they presume a lot of underlying knowledge.