元数据操作失败 [英] metadata operation failed
问题描述
我有一个使用MFC从早期版本的VS移植的应用程序
我已经完成了编译和链接的更新,但有15个不同风格的错误of
元数据操作fialide(8013118D):重复类型中的布局信息不一致......
这与内置的导入库相关联尽可能保持一致。
查看了互联网上的内容,但没有找到解决我问题的方法
感谢您在这里发帖。
>>我已经完成了编译和链接的更新,但有15个错误,各种风格的
元数据操作fialide(8013118D):重复类型中的布局信息不一致...
这与导入的库相关联,该库也以尽可能一致的方式构建。
请提供有关导入库的更多信息。它是Microsoft库文件还是第三方库文件?它是否支持CLR或ATL?
诊断此问题的一种方法是运行
ildasm -tokens ,以查找哪些类型具有error_message中列出的标记,并查找差异。在元数据中,两个具有相同名称的不同类型无效,即使只是LayoutType属性不同。
有关更多可能的原因和解决方案,请参阅下面这些类似的情况。 / p>
希望这可以帮到你。
最诚挚的问候,
Baron Bi
I have an application ported from an earlier version of VS using MFC
I have worked through the updates for the compile and link but have 15 errors that are various flavors of
metadata operation fialide (8013118D): inconsistent layout information in duplicated types ...
this is associated with an imported library also built in as consistent a way as possible.
Have looked through the content on the internet but have not found a solution for my problem
Hi,
thanks for posting here.
>>I have worked through the updates for the compile and link but have 15 errors that are various flavors of
metadata operation fialide (8013118D): inconsistent layout information in duplicated types ...
this is associated with an imported library also built in as consistent a way as possible.Please provide more information about the imported library. Is it a Microsoft library file or Third-party library file? Does it support CLR or ATL?
One way to diagnose this problem is to run ildasm –tokens on the object files to find which types have the tokens listed in error_message, and look for differences. In metadata, two different types with the same name is not valid, even if the just LayoutType attribute is different.
For more possible reasons and solutions, please refer to these similar case below.
Hope this could be help of you.
Best Regards,
Baron Bi
这篇关于元数据操作失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!