asp.net not deploying non-referenced assemblies <p>I have a asp.net mvc project that is part of a azure cloud project. Lets call it <code>WebRole</code>.</p> <p>The <code>WebRole</code> project depends on a service interface witch is in it's own assembly. Let's call that <code>Services</code>. The implementation of those service interfaces sits in yet another assembly, which we can call <code>Services.Implementations</code>.</p> <p>The <code>WebRole</code> project have no direct dependency on <code>Service.Implementations</code>, but the IoC-container will map things together. The problem is that as long as the direct reference is not there, <code>Service.Implementations</code> won't get deployed. Neither to local IIS Express or to the cloud.</p> <p>How can I tell that the <code>Service.Implementations</code> project needs to be deployed, without exposing it to the <code>WebRole</code> project?</p>