IL2034: 'DynamicDependencyAttribute' could not be analyzed

Cause

Application contains an invalid use of DynamicDependencyAttribute. Ensure that you are using one of the officially supported constructors.