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 will learn about sync provider notifications in Windows 11 and how to disable or enable it...
In this tutorial, let’s learn how to enable or disable the startup sound in Windows 11. By default, when Windows...
The CameraCaptureTask allows the Windows Phone 7 App to launch the Camera Application . This will be useful when the...