引用MMPPF winmd文件导致“MdilXapCompile.exe失败,错误代码为2001” [英] Referencing MMPPF winmd file causing “MdilXapCompile.exe failed with error code 2001”

查看:100
本文介绍了引用MMPPF winmd文件导致“MdilXapCompile.exe失败,错误代码为2001”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Windows手机应用程序中,我包括Microsoft Media Player Framework(MMPPF)以包含MediaPlayer和WebVTT功能。我引用了从MMPPF通用项目构建的DLL和winmd文件,以引用Visual Studio中安装的MMPPF扩展。在x86和ARM(非手机)设备上这很好用,但在ARM手机上没有。根据MDILXapCompileLog,违规文件是Microsoft.Media.WebVTT.winmd。附件是MDILXapCompileLog。 Bellow是包含内容的目录树。用*括起来的是应用程序中引用的内容。剩下的就是被它拖入的内容。



 + --- Universal.WinRT.WebVTT 
| | Microsoft.Media.WebVTT.pri
| | * Microsoft.Media.WebVTT.winmd *
| |
| \ --- Microsoft.Media.WebVTT
| | Microsoft.Media.WebVTT.xr.xml
| |
| \ --- themes
| Generic.xbf
|
+ --- Universal.Xaml.Core
| | * Microsoft.PlayerFramework.dll *
| | Microsoft.PlayerFramework.pri
| |
| \ --- Microsoft.PlayerFramework
| | Microsoft.PlayerFramework.xr.xml
| |
| \ ---主题
| Classic.xbf
| Entertainment.xbf
| Generic.xbf
| Phone.xbf
|
\ --- Universal.Xaml.WebVTT
* Microsoft.PlayerFramework.WebVTT.dll *





我看过类似的帖子,但没有发现任何适用的内容。



[VS2013 Update 2 + WP 8.1] ARM在发布模式下部署到设备问题(DEP6810)



我无法编译ARM / RELEASE



Universal App Deploy错误代码:2147942411



谢谢

解决方案

您是否找到了解决此问题的方法?我有与Microsoft Advertisement dll类似的问题,我设法通过这些步骤修复它 -



1.构建调试模式并部署到设备。

成功部署。



2.现在清理解决方案,在Release模式下构建并部署到设备。



我从下面的链接中获取提示:

https://social.msdn.microsoft.com/Forums/windowsapps/en-US/d0b940d2-1c4e-4f28 -9130-b45067088aa1 / vs2013更新-2- WP-81 - 臂 - 部署到设备-问题dep6810式释放模式?论坛= wpdevelop

In my windows phone app I am including Microsoft Media Player Framework (MMPPF) to include MediaPlayer and WebVTT functionality. I am referencing the DLL's and winmd files that were built from the MMPPF universal project as appose to referencing the installed MMPPF extension in Visual Studio. On x86 and ARM(non phone) devices this worked just fine but on ARM phone, no. According to the MDILXapCompileLog the offending file is Microsoft.Media.WebVTT.winmd. Attached is the MDILXapCompileLog. Bellow is the directory tree of what is included. That bracketed by * are what is referenced in the app. The rest is what is dragged in with it.

+---Universal.WinRT.WebVTT
|   |   Microsoft.Media.WebVTT.pri
|   |   *Microsoft.Media.WebVTT.winmd*
|   |   
|   \---Microsoft.Media.WebVTT
|       |   Microsoft.Media.WebVTT.xr.xml
|       |   
|       \---themes
|               Generic.xbf
|               
+---Universal.Xaml.Core
|   |   *Microsoft.PlayerFramework.dll*
|   |   Microsoft.PlayerFramework.pri
|   |   
|   \---Microsoft.PlayerFramework
|       |   Microsoft.PlayerFramework.xr.xml
|       |   
|       \---Themes
|               Classic.xbf
|               Entertainment.xbf
|               Generic.xbf
|               Phone.xbf
|               
\---Universal.Xaml.WebVTT
        *Microsoft.PlayerFramework.WebVTT.dll*



I have taken a look at similar posts but have not found anything that applies.

[VS2013 Update 2 + WP 8.1] ARM deploying to device problem (DEP6810) in Release mode

I can't compile for ARM/RELEASE

Universal App Deploy error code: 2147942411

Thanks

解决方案

Did you find any solution for this problem? I had similar issue with Microsoft Advertisement dll and I managed to fix it with these steps -

1. Build in Debug mode and deploy to the device.
Deployed successfully.

2. Now clean the solution, build in Release mode and deploy to device.

I fount the hint from below link:
https://social.msdn.microsoft.com/Forums/windowsapps/en-US/d0b940d2-1c4e-4f28-9130-b45067088aa1/vs2013-update-2-wp-81-arm-deploying-to-device-problem-dep6810-in-release-mode?forum=wpdevelop


这篇关于引用MMPPF winmd文件导致“MdilXapCompile.exe失败,错误代码为2001”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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