Instead bin deployment, i go through another way.
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
"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 .net assembly.
A reference to the dll could not be added
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.
- If all dll you added using nuget then its fine, you will not get any issue.
- If some dll are not available on nuget the
Put that dlls in /lib folder created at root level of solution.
or use bin deploy.
Moral: All dependency related to Third-party .dll and GAC dll put into your project and refer it form project.
Refernces:
http://support.appharbor.com/discussions/problems/72603-third-party-dll-and-gac-referenced-dll-not-woking-in-appharbor