Change the BuildAction of the JAR's to EmbeddedJar/EmbeddedReferenceJar.