部署 Windowsform 客户端应用程序但缺少程序集
我正在尝试使用外部 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决方案:使用单击一次时,转到项目属性,然后转到“部署”选项卡,并在所需文件中为您已在项目或 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