orchard.web build from src is 500MB+

Topics: Installing Orchard
Jun 16, 2011 at 11:54 AM


So I have the full source listing from the latest release (1.2) the default branch.


I just wrote one dummy module, and then built the Orchard.Web project and published it. After publishing, it turns out to be over 500 MB. 


Most of this space is used up by each module, which turns out to be about 15-20 MB per module?


What do I do here?

Jun 16, 2011 at 3:28 PM

Before running the publish command, you need to switch to Release mode. Then it will remove unnecessary dlls.