Why does DeployExternalAssemblies happen after DeploySchemas?

Topics: General Questions, Server Deployment
Nov 14, 2014 at 9:14 PM
Edited Nov 14, 2014 at 9:19 PM
What it is the motivation behind? This raises some issues in my case because my Schemas assembly depends on an external assembly. Yes my Schemas assembly does not contain only XSDs; it also contains message factory classes for the respective and "sibling" schemas, factory classes which references classes from the external assemblies.

I have a workaround, which is to have CustomDeployTarget depends on DeployExternalAssemblies... not very hard to do. But still I am wondering if changing BTDF would not be simpler/better. I must say I can't really see why ExternalAssemblies are not deployed before any BTS artifact, similarly to AdditionalAssemblies?

I thought of using AdditionalAssemblies, but these are not undeployed... which is odd in my opinion. But this is debatable, I know ;)

Thank you