HomeWindowsWindows Phone – “Deployment failed because an app with target platform Any CPU cannot be deployed to Device” Error

Windows Phone – “Deployment failed because an app with target platform Any CPU cannot be deployed to Device” Error

When I was trying to deploy and debug a Windows Phone 8 app from Visual Studio 2012, I ended up getting the following error.

“Deployment failed because an app with target platform Any CPU cannot be deployed to Device. If the target platform is win32/ x86, select an emulator. If the target platform is ARM, select Device.”

Windows Phone - "Deployment failed because an app with target platform Any CPU cannot be deployed to Device" Error

To resolve the error, following steps were followed.

  1. Go to “Configuration Manager”

Windows Phone - "Deployment failed because an app with target platform Any CPU cannot be deployed to Device" Error

 

  1. In the Configuration Manager screen, set the platform to ARM and then click close button.

Windows Phone - "Deployment failed because an app with target platform Any CPU cannot be deployed to Device" Error

  1. Rebuild the application and run it. Now, the app should run without any error

    1 Comment

  1. subhashini
    May 5, 2014
    Reply

    thanks this helped me!

Leave a Reply

You May Also Like

This blog post will guide you through several effective methods to troubleshoot and resolve the issue of Microsoft Edge not...
Windows 11 offers a range of audio enhancements that can enrich your listening experience. These enhancements include features like virtual...
Windows 11 brings a fresh and visually stunning design to your desktop, and one of the standout features is the...