Including assembly dependencies with build
Forgive me, as I'm very new to CI tools, and this seems like a really basic question.
I've got a rather large ASP.NET WebForms project (in C#) that references a bunch of third-party dependencies (like Telerik controls, ActiveReports, etc). I am using GitHub as a source control provider. What is the recommended way to include these third-party DLL's with my project so that AppVeyor can locate them for the build?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 04 Jun, 2014 06:59 PM
Hi Rob,
If those components can be found on NuGet I'd go this way (check http://www.nuget.org/packages?q=telerik, http://www.nuget.org/packages?q=ActiveReports). Sometimes vendors provide their own NuGet feeds - you can check with them.
Otherwise the easiest way is to check-in dependencies to your repository. However, if they are really huge you can host them elsewhere (say AWS S3) and download during the build (http://www.appveyor.com/docs/how-to/download-file).
Let me know if you have any questions.
2 Posted by Rob Dugre on 04 Jun, 2014 09:58 PM
Thanks for the quick response.
If I check in the dependencies, how does the build know where to find them? I did try it already, and the build isn't finding them, as they are a few sub-folders deep. Is there a specific place I should put them? Or do I need to set a configuration variable somewhere?
Support Staff 3 Posted by Feodor Fitsner on 05 Jun, 2014 12:04 AM
There are always relative links in *.proj files to any referenced assemblies. Just make sure those assemblies were checked in into repository and not in .gitignore.
4 Posted by Rob Dugre on 05 Jun, 2014 06:40 PM
Thanks again for the quick response.
I was able to resolve the issue. My project files were referencing the assemblies in a completely different folder, outside of the Git repo. Once I fixed the references, things started working properly.
Support Staff 5 Posted by Feodor Fitsner on 05 Jun, 2014 06:44 PM
Great, thanks for the update!
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:44 AM.