ClickOnce应用程序部署dll参考问题

发布于 2024-08-01 18:31:43 字数 356 浏览 1 评论 0原文

我已经通过 ClickOnce 安装了一个离线应用程序。 在 Reflector 中检查该应用程序表明它依赖于两个自定义库——Thirteen23.Library.3 和 TwitterLib。 当尝试打开这些库中定义的类时,Reflector 抱怨

“无法自动解析以下程序集名称:

Thirteen23.Library.3,Version=1.0.0.0,Culture=neutral,PublicKeyToken=d3a8aa6c91122687”

但是,应用程序运行良好当我双击它时。 我搜索了 GAC 和其他几个地方,但找不到这个 DLL。

有人可以向我解释一下发生了什么事吗?

谢谢。

I have installed an application off the web via ClickOnce. Examining the application in Reflector shows that it depends on two custom libraries--Thirteen23.Library.3 and TwitterLib. When attempting to open classes defined in these libraries, Reflector complains that

"The following assembly name cannot be resolved automatically:

Thirteen23.Library.3, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d3a8aa6c91122687"

However, the application runs just fine when I double click on it. I've searched the GAC and several other places and can't find this DLL.

Can someone please explain to me what's going on?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

笑着哭最痛 2024-08-08 18:31:43

反射器的路径中没有组件。 请注意,您可能也找不到 .exe? .Net 对于 Click Once 应用程序的安装位置有自己的规则。

应用程序的作者将程序集(根据需要将其标记为)包含在单击一次部署属性中。

The reflector doesn't have the assemblies in its path. Notice you probably can't find the .exe either? .Net has its own rules for where Click Once apps get installed.

The app's author included the assemblies (marked them as required) in the click once deployment properties.

初见你 2024-08-08 18:31:43

找到有问题的dll。 它位于应用程序资源流中。 应该早点看看那里,尽管它似乎非常不标准(不过我可能是错的)。

Found the dll in question. It was located in the application resource stream. Should have looked there sooner, although it seems to be very non-standard (I could be wrong though).

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