.winmd文件未提供任何实现文件 [英] No implementation file was provicded for the .winmd file

查看:140
本文介绍了.winmd文件未提供任何实现文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在VS2012中构建Windows 8 App项目时出现警告:

I have a warning when I build my Windows 8 App project in VS2012:

No implementation file was provided for the .winmd file 'C:\Users\luke\LApp\LApp\bin\x86\Debug\Bing.Maps.winmd'. To generate registration information in the app manifest, specify the 'Implementation' metadata on the .winmd reference item in the project file.

我真的不知道还能提供什么其他信息.我已经用Google搜索,但没有提供任何相关结果.它提供了指向以下内容的链接: http://msdn.microsoft.com/zh-我们/library/hh708954.aspx ,但我不确定这是正确的事情.我很确定我有正确的参考文献:

I don't really know what other information to provide. I've Googled and it doesn't provide any relevant results. It gives a link to this: http://msdn.microsoft.com/en-us/library/hh708954.aspx but I'm not sure it is the correct thing. I'm pretty sure I have the correct references:

这是一个C#项目.我使用NuGet添加了Bing Maps SDK,它可以在我的应用程序中使用-我可以在地图界面上拖动并在应用程序中使用它.这只是在构建时显示的警告,我不知道如何清除它.

It is a C# project. I used NuGet to add the Bing Maps SDK and it works in my app - I can drag on a map interface and use it in the app. This is just a warning that shows up when building and I have no idea how to get rid of it.

任何帮助表示感谢,谢谢.

Any help appreciated, thanks.

推荐答案

您的项目是c#项目吗?

Is your project a c# project?

通常,使用.NET实现的WinRT组件只是.winmd文件.接口和实现都包含在.winmd文件中.而本机组件(用C ++编写的组件)将分别具有分别用于接口和实现的.winmd和.dll文件.

Usually WinRT components implemented using .NET are just .winmd files. Both interface and implementation are contained within the .winmd file. Whereas native components (those written in C++) will have separate .winmd and .dll files for interface and implementation respectively.

如果您可以提供有关您的应用程序项目和repro步骤的更多详细信息,将会很有帮助.

It would be helpful if you could provide more details about your app project and the repro steps.

这篇关于.winmd文件未提供任何实现文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆