Downloading Source Code

Nov 10, 2010 at 10:19 AM

Does nuget support the downloading of source code for a package alongside the binaries?

Nov 10, 2010 at 11:31 AM

Add the source files to the package definition if you wish - see the documentation for creating package

Nov 10, 2010 at 11:36 AM

Sorry, to be clear, I am writing this from the POV of a package consumer, as opposed to a package provider. But I gather from your reply there is no standard way of doing this, it is on a per-package basis?

Nov 10, 2010 at 4:45 PM

That is correct. What we do allow is a package author to specify a projectUrl. The idea being that developers interested in learning more about the package can go there and hopefully get the source code.

If you wanted a more standard way to get the source, how would you expect to get it? Would you want a zip file with the source dropped into the directory where we place the package?

Nov 10, 2010 at 4:49 PM

See this discussion