appharbor:第三方.dll和GAC引用的.dll

编程入门 行业动态 更新时间:2024-10-25 15:29:12
本文介绍了appharbor:第三方.dll和GAC引用的.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

1.我们使用Appharbor为我的客户端应用程序的第三方.dll文件(短信和电子邮件)和其中一些我们引用格式GAC的数量。

1.We are using Appharbor for my client app having number of third party .dll files(for SMS and Email) and some of them we referencing form GAC.

其中一些我们放入/ bin文件夹并引用该文件夹(我们为.dll文件设置Local Copy = True)

some of them we put into /bin folder and referencing form that folder (we set Local Copy = True for .dll file)

我想要最好的办法来处理GAC和其他第三方.dll维护在appharbor。 如果我需要把.dll放在/ bin或任何其他在项目中的文件夹。

I want best way to handle GAC and other third party .dll maintain in appharbor. If i need to put that .dll in /bin or any other folder which is in project.

  • Give me the way to handle Physical file in apphabor / or using CDN.

    让我在appharbor中使用专用的sql server

    Give me the way to use dedicated sql server in appharbor

    推荐答案

    而不是

    Instead bin deployment, i go through another way.

    我在解决方案的根目录下创建了/ lib文件夹,并保存了所有第三方-party .dll和GAC .dll 然后我引用dlls到我的项目,最后它工作正常。 我在我的项目中添加引用有一个错误

    I created /lib folder at the root of solution and saved all Third-party .dll and GAC .dll then I referenced that dlls to my projects, finally it works fine. I got one error about adding reference in my project as

    无法添加对.... dll的引用。请确保该文件是可访问的,并且它是一个有效的程序集或COM组件。

    "A reference to the "....dll" could not be added.Please make sure that the file is accessible and that it is a valid assembly or COM component."

    使用下面像我转换成适当的程序集。

    using below like i converted into appropriate assembly.

    对dll的引用可以不添加

    然后我可以将我的dll添加到项目中。添加dll后,它的本地复制属性被禁用,所以为什么我不喜欢使用bin-deploy。

    Then I able to add my dll into project. After adding dll it Local Copy property is disabled so that why i not prefered to used bin-deploy.

  • 如果所有dll你添加使用nuget那么它的罚款,你不会得到任何问题。
  • 如果某些dll不可用于nuget 将该dll放在/ lib文件夹中根解决方案的根级创建。 或使用bin部署。
  • 道德:所有与第三方.dll和GAC dll相关的依赖项放入您的项目

    Moral: All dependency related to Third-party .dll and GAC dll put into your project and refer it form project.

    参考: support.appharbor/discussions/problems/72603-third-party-dll-and- gac-reference-dll-not-woking-in-appharbor

    更多推荐

    appharbor:第三方.dll和GAC引用的.dll

    本文发布于:2023-05-27 23:10:48,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/306090.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:第三方   appharbor   GAC   dll

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!