【问题标题】:No implementation file was provicded for the .winmd file没有为 .winmd 文件提供实现文件
【发布时间】:2012-12-15 19:37:49
【问题描述】:

当我在 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,但我不确定它是否正确。我很确定我有正确的参考:

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

任何帮助表示赞赏,谢谢。

【问题讨论】:

    标签: c# windows-8 bing-maps


    【解决方案1】:

    你的项目是 c# 项目吗?

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

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

    【讨论】:

    • 是的,它是一个 C# 项目。我使用 NuGet 添加 Bing Maps SDK,它可以在我的应用程序中运行 - 我可以在地图界面上拖动并在应用程序中使用它。这只是构建时出现的警告,我不知道如何摆脱它。
    猜你喜欢
    • 2019-08-27
    • 2023-04-01
    • 1970-01-01
    • 2022-01-06
    • 2018-10-19
    • 2020-04-30
    • 2014-11-24
    • 1970-01-01
    • 2023-01-30
    相关资源
    最近更新 更多