强签名 NAudio.dll
有人有 Strong 签名的 NAudio.dll 吗?
因为我正在构建一个需要 NAudio 强签名的应用程序。
错误 程序集“NAudio.dll”必须经过强签名才能标记为先决条件。
Does somebody have the Strong signed NAudio.dll?
Because I am bulding an application that requires the NAudio to be strong signed.
Error Assembly 'NAudio.dll' must be strong signed in order to be marked as a prerequisite.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
事实上,这是一条部署错误消息。这意味着 ClickOnce-Deployment 将在运行应用程序之前检查目标计算机的 GAC 中是否安装了程序集。
这通常是需要的,例如,当公司内的所有计算机都有一个标准设置,其中包括 oracle 客户端、MQ 客户端...
如果您不通过 ClickOnce 部署,而是通过 XCopy 部署时,您的应用程序将明显抛出异常如果 NAudio 既不在执行目录中也不在 GAC 中(由于缺乏强名称,它不可能在 GAC 中),则启动。
由于 NAudio.dll 是一个 CodePlex 项目,因此您可以将其与您的应用程序一起部署,而不必将其单独安装在所有目标计算机上。打开项目设置,转到“发布”选项卡,单击“应用程序文件”,找到 NAudio 并将其发布状态设置为“包含”。为此,您还必须确保对 NAudio 的引用将“复制本地”设置为 true。
That, in fact, is a deployment error message. It means that ClickOnce-Deployment will check whether an assembly is installed in the target computer's GAC before running your application.
This is often wanted, for example when all computers within a company have a standard setup that includes an oracle client, MQ Client,...
If you do not deploy via ClickOnce, but rather via XCopy, your application will plainly throw an exception at startup if NAudio is neither in the execution dir nor in the GAC (where, lacking a strong name, it can't be).
Since NAudio.dll is a CodePlex project, you may deploy it along with your app and don't have to install it on all target machines seperately. Open your Project Settings, go to the "publish" Tab, click on "Application Files", locate NAudio and set its publish status to "Include". For that to work, you also have to make sure your reference to NAudio has "Copy Local" set to true.
由于它是开源的,您可以下载源代码,然后自己签名。
Since it's open source, you can download source, and sign it yourself.