I've successfully created a Nuget package which contains the compiled DLL and uncompiled content such as images, styles, etc.
Controllers, helpers, resources and other code has been compiled. This package is useful for distribution when only the compiled DLL and public stuff is required but I also want to have a package that would contain a whole source of everything.
I read the command line reference but did not find such an option (might have missed it though).
How can I package source files (.cs)?
In the original project (which will be the package) rename the .cs files to .cs.pp.
This should guide anyone else who finds himself wanting to use Nuget to reuse the source code files into the right direction:
http://blogs.clariusconsulting.net/kzu/how-to-create-lightweight-reusable-source-code-with-nuget/