Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Packing source code with Nuget

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)?

like image 490
mare Avatar asked Jul 27 '11 09:07

mare


1 Answers

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/

like image 75
mare Avatar answered Sep 20 '22 23:09

mare