强签名 NAudio.dll

发布于 12-11 15:47 字数 116 浏览 0 评论 0原文

有人有 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

黒涩兲箜2024-12-18 15:47:31

事实上,这是一条部署错误消息。这意味着 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.

随梦而飞#2024-12-18 15:47:31

由于它是开源的,您可以下载源代码,然后自己签名

Since it's open source, you can download source, and sign it yourself.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文