OrchardCMS / OrchardDoc

Documentation for Orchard 1.x (not Orchard Core, for that see https://docs.orchardcore.net/).
http://docs.orchardproject.net
142 stars 242 forks source link

Orchard.Web project dependencies for modules #353

Open cadull opened 5 years ago

cadull commented 5 years ago

The documentation at http://docs.orchardproject.net/en/latest/Documentation/Source-code-organization/ states the following.

The Orchard.Web project has project references to the modules. This enables automatic copying of the output assemblies into the bin folder of the Orchard.Web project.

This should be project dependencies instead of project references.

In the Orchard solution, the Orchard.Web project has project dependencies on the modules. This enables automatic copying of the output assemblies into the bin folder of the Orchard.Web project.

This was the key to fixing my build and deploy issue. I wasn't aware that build dependencies would affect the publishing of binaries.