出现 “无法从程序集**中嵌入互操作类型,因为该程序集缺少“ImportedFromTypeLibAttribute”特性或“PrimaryInteropAssemblyAttribute“特性”错误
如下图右击选中引用类型 设置属性 ”嵌入互操作类型“ 改为 ”Flase“ 即可