没有为.winmd文件提供实施文件

时间:2012-12-15 19:37:49

标签: c# windows-8 bing-maps

我在VS2012中构建Windows 8 App项目时收到警告:

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.

我真的不知道提供什么其他信息。我用谷歌搜索,它没有提供任何相关的结果。它提供了一个链接:http://msdn.microsoft.com/en-us/library/hh708954.aspx但我不确定这是正确的。我很确定我有正确的参考资料:

enter image description here

这是一个C#项目。我使用NuGet添加Bing Maps SDK,它可以在我的应用程序中运行 - 我可以拖动地图界面并在应用程序中使用它。这只是建筑时出现的警告,我不知道如何摆脱它。

感谢任何帮助,谢谢。

1 个答案:

答案 0 :(得分:1)

您的项目是否为c#项目?

通常使用.NET实现的WinRT组件只是.winmd文件。接口和实现都包含在.winmd文件中。而本机组件(用C ++编写的组件)将分别为接口和实现提供单独的.winmd和.dll文件。

如果您能提供有关您的应用项目和重新制作步骤的更多详细信息,那将会很有帮助。