You need to specify the fully qualified type name :
A valid type name consists of an assembly name specification, a namespace specification, and a type name.
Example:
"System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
In some cases, you just need “namespace name + assembly name”:
"System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework"
source
share