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

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you’ll learn about the Win32 Error “0x000019E5 – ERROR_COULD_NOT_RESIZE_LOG” that you get when debugging system erors in...
In this post, you’ll learn about the error “CO_E_DBERROR 0x8004E02B” that is returned when working with COM based APIs or...
In this post, you’ll learn about the Win32 Error “0x000019D0 – ERROR_LOG_BLOCK_VERSION” that you get when debugging system erors in...