Windows phone 真机调试时遇到如下错误
Error : DEP6810 : MdilXapCompile.exe failed with error code 2001. See log file ‘C:\Users\Documents\Visual Studio 2013\Projects\obj\ARM\Release\MDIL\MDILXapCompileLog.txt’ for more details.
按照所给的路径打开文件之后,看到如下的信息
Raw error code: 2147942411
这是一个关于 目标平台(Platform target)的错误
解决方法如下:
工具栏Debug–>Properties–>Build
Platform:Active(ARM)
Platform target:ARM
修改完成后,如有需要,将app从设备中卸载并重新部署调试