ARM package deploying fail when I'm referencing MPF projects

Topics: Windows Phone 8
Jul 29, 2015 at 6:32 PM
Edited Jul 30, 2015 at 2:59 PM
Hi!
I'm trying to do some changes in MPF source code (ad part).

So, I included MPF projects to my solution with wp81 (winrt) project.

But, when I'm trying to build and deploy this app onto my device (ARM) I have the error (but it works if I'm using x86 simulator)
VS output:
2>Error : DEP6810 : MdilXapCompile.exe failed with error code 2001. See log file 'D:\projects\My\pf-arm-deploy-error\PF_Deploy_Bug\obj\ARM\Debug\MDIL\MDILXapCompileLog.txt' for more details.

And here some lines from that file ( https://dl.dropboxusercontent.com/u/22639368/work/MPF/MDILXapCompileLog.txt ):

CrossGen failed
Error processing assembly D:\projects\My\pf-arm-deploy-error\PF_Deploy_Bug\obj\ARM\Debug\MSIL\Microsoft.Media.Advertising.winmd

Raw error code: 2148733978

But if I built vsix package and installed it to the system and added references to that SDK into my project - application ARM package deploying OK.


VS2013
debug\arm - ok
release\arm - fail
*\x86 - ok

VS2015
debug\arm - fail
release\arm - fail
*\x86 - ok



Please, help me with this problem.

Sample project
(sources) https://github.com/bondarenkod/pf-arm-deploy-error
(zip) https://dl.dropboxusercontent.com/u/22639368/work/MPF/PF_Deploy_Bug.zip


watched:
http://playerframework.codeplex.com/discussions/551905
Mar 4 at 8:53 PM
Edited Mar 4 at 8:55 PM
I hit the exact same problem when trying to use Visual Studio to launch the win 8.1 build onto a Win8.1 phone. Same array - VS2013 can use a debug build on the device, but all other ARM debugging attempts (VS 2013 release, VS 2015 debug, VS 2015 release) all fail with the MDILXapCompileLog describing the Microsoft.Media.Advertising.winmd error above.

I was having the same error getting the same build running in debugger on a Win10 phone device, but would never have thought to try VS 2013 debug build would work when all others fail... Will have to try this when our QA is done with the Win10 phone device.
Mar 4 at 10:47 PM
Hi! I'm apologize, but I can't help you.
Now I'm using the w10m and there is all ok with HLS by default.
So, you can try to move your project on w10.