Read and download libraries from NuGet's packages.xml
Automatically get all libraries from packages.xml and add them to the bin instead of having to add references to your web project.
As noted in the comments restoring packages is now very easy to implement per application. Read our blog post on restoring nuget packages for more details http://blog.appharbor.com/2012/02/06/use-nuget-package-restore-to-avoid-pushing-packages-to-appharbor
7 comments
-
korayem
commented
Guys, this "suggestion" should be removed. AppHarbor have blogged about this already: http://blog.appharbor.com/2012/02/06/use-nuget-package-restore-to-avoid-pushing-packages-to-appharbor
-
korayem
commented
Guys, this can be done. I totally removed all binaries from packages
-
rodolfograve
commented
I can confirm the Enable-PackageRestore command from the NugetPowerTools package works great in AppHarbor.
-
jbarnes
commented
This works with the latest version of NuGet if you enable package restore. I was able to deploy a project with only the config files and appharbor retrieved the libraries.
http://docs.nuget.org/docs/workflows/using-nuget-without-committing-packages
-
DanTup
commented
Woot, found a workaround using an MSBuild target instead of a pre-build step. Info here:
Setting up NuGet to Automatically Fetch Packages When Deploying to AppHarbor Without Committing Binaries http://blog.dantup.com/2011/05/setting-up-nuget-to-automatically-fetch-packages-when-deploying-to-appharbor-without-storing-binaries-in-source-control
-
DanTup
commented
Note: It shouldn't be required to parse the file and add them to the bin, NuGet has support for this. See David Ebbo's post "Using NuGet without committing packages":
http://blog.davidebbo.com/2011/03/using-nuget-without-committing-packages.html
-
DanTup
commented
Given we can't use a pre-build step to fetch these, this is really important to avoid bloated repos. I don't want to check in all my binaries, as even once it's implemented, I won't be able to remove them from the history (so every clone will include them).