[AC-522] WP8.1: Deploy to clients device failed with error: Deployment optimization failed due to an assembly that's not valid
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Not Our Bug |
Resolution Date | 2015-12-03T06:39:00.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Marian Kucharcik |
Assignee | Shak Hossain |
Created | 2015-12-01T16:19:47.000+0000 |
Updated | 2015-12-03T06:39:00.000+0000 |
Description
Hi guys,
when I want to deploy my app to another Windows Phone(my client's device), I set Deploy-Windows Phone distribution to get appx. On my client's PC I installed Windows Phone 8 SDK with Visual Studio 2015 and tried to install the app via Windows Phone Application deployment(8.1). It fails with this error:
Deployment optimization failed due to an assembly that's not valid. Try to rebuilding the project and try again.
I tried to rebuild app for many times, tried to change Windos Phone Publisher ID to my client's but nothing worked. I tried to build to my phone with no problem. Also tried to install appx deployed successfully(with DEBUG suffix) to my phone to my client's phone with same error).
Can you please help me out?
Thank you
Hello [~max87], Can you try to run the project through terminal? Try running the project by
Please follow the [link](http://docs.appcelerator.com/platform/latest/#!/guide/Appcelerator_Command-Line_Interface_Reference-section-43294287_AppceleratorCommand-LineInterfaceReference-WindowsBuildOptions) for running project through terminal. Also, Please follow this [link](https://github.com/appcelerator/hyperloop-windows/issues/43) for more info on your issue. Thanks.
Hi Sharif, I think that running build from CLI won't help, because I need to install the app to a phone which is 200km from me. But I discovered, that *.appxbundle(not appx) works. It can be found at