Question

I have followed different threads here and there related to deploying Orchard but for some reason, they all keep producing a 700MG site.

I have added maybe 10 pages max to the existing site, so something is wrong.

I see that all modules are copied, and each of them has a repeated set of .dll on each of their BIN folders.

I have installed Orchard from the Microsoft Web Platform Installer.
I am using VS 2010 Ultimate
I am using SQL Compact (for this site)

Any thought will be much appreciated, cause for some reason I do NOT want to believe MS is producing such a mess on deploying a simple site, repeating sooo many times the same DLLs for each module.

Thanks in advanced.

Was it helpful?

Solution

Yeah, if you do a dumb copy of everything, each and every module has a copy of all the dlls in its bin folder, which are just going to sit there doing nothing. You need to either do a real web deploy, which should do the right thing and only deploy what you need, or build from the command-line when you need to deploy using build "compile;package".

It's explained here: http://docs.orchardproject.net/Documentation/Building-and-deploying-Orchard-from-a-source-code-drop

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top