Manifest references file 'Bing.Maps.dll' which is not part of the payload

匿名 (未验证) 提交于 2019-12-03 00:59:01

问题:

Error 1 Manifest references file 'Bing.Maps.dll' which is not part of the payload. C:\Users\xxx\Desktop\xxx\Applicationxx\Applicationxx\Package.appxmanifest Application7

I added this into a existing Metro application and its giving me that error, anyone has solution to it?

回答1:

Go to the properties of the project and under Build, you will see Platform Target. Choose either x64 or x86 instead of Any CPU and it should be solved.

~Guo Hong



回答2:

To correctly reference Bing Maps for a Metro app...

Go to: Project -> Add Reference -> Windows -> Extensions

Now, select both the "Bing Maps for ..." and also "Microsoft Visual C++ Runtime Package"

If you don't select the 2nd package, things will seem to be fine until you try to actually deploy your app.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!