Add reference 时,添加的引用不能使用
2012-11-06 09:01
225 查看
Interop type ‘XXXX’ cannot be embedded. Use the applicable interface instead.
添加.dll文件时,程序出现错误:Interop type 'XXX' cannot be embedded. Use the applicable interface instead.解决办法是找到相对应的接口,在它的属性中将Embed Interop Type属性改为false!
why?
相关文章推荐
- ImageList不能局部使用,即使新添加的Add也需要添加全局或者类级下使用(札记)
- 添加web引用和添加服务引用有什么区别?Add Service References 和 Add Web References 有啥区别?
- mvc4 引用wcf服务添加不能使用错误
- 添加web引用和添加服务引用有什么区别?Add Service References 和 Add Web References 有啥区别?
- MVC ViewBag不能使用在工程文件中添加引用
- 在source insight 使用 Add from list 添加文件
- 201402 系统更新后 VS2010 的宏功能不能正常使用(如添加头注释)
- NetUserAdd新建用户并使用NetLocalGroupAddMembers添加到组
- VS2010 C#控制台程序不能添加对System.Web的引用
- linq to sql Attach 不能添加其键已在使用中的实体
- List使用add方法添加对象-只显示最后添加的数据的问题
- C#调用c++的DLL出现“不能直接添加引用,提示不是COM和程序集DLL”
- 使用 final关键字修饰一个变量时,是引用不能变,还是引用的对象不能变?
- 多库查询 sp_addlinkedserver使用方法(添加链接服务器)
- 关于资源的Reference路径引用下,文件的使用
- .NET添加引用后,但在代码中使用using时却找不到命名空间?
- C#添加服务引用(ASP.NET网站也可以使用)
- 使用sp_addextendedproperty添加描述信息
- Visual studio 2017添加引用时报错未能正确加载ReferenceManagerPackage包的解决方法
- Vs2017添加引用时报错 未能正确加载“ReferenceManagerPackage”包。