部署 Windowsform 客户端应用程序但缺少程序集

发布于 2024-07-10 15:04:38 字数 200 浏览 6 评论 0原文

我正在尝试使用外部 dll 从报告应用程序中完成一个小模块。 我将文件放入 bin 文件夹中,但是当我使用 ClickOnce 部署应用程序并且安装完成时,我发现所有外部 dll 都丢失了。 例如,缺少 Microsoft.SqlServer.Types 版本 10.0.0.0

有没有办法在客户端 GAC 中自动安装这些程序集?

I'm trying to finish a little module from a reporting app using external dlls. I'm putting the files into the bin folder but when I deploy the app with ClickOnce, and the install finishes, I see that all external dlls are missing. For example, the Microsoft.SqlServer.Types version 10.0.0.0 is missing.

Is there a way to install these assemblies automatically in the client GAC?

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

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

发布评论

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

评论(1

木槿暧夏七纪年 2024-07-17 15:04:38

解决方案:使用单击一次时,转到项目属性,然后转到“部署”选项卡,并在所需文件中为您已在项目或 Fx 中引用的任何程序集选择“包含”

Solution : when using click once, go to project propertyes, then to Deploy tab and in requireds files select "included" for any assembly that you have already referenced in your project or Fx

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