An exception of type {0} was caught when calling IRegisterMetadata on type {1}. Exception Message: {2}. Stack Trace: {3} ...