none
[UWP] Is it possible to deploy a UWP app build in VS2015RTM to Windows Phone (running 10.0.10166)?

    Question

  • Before upgrading to VS2015RTM, I was able to deploy my UWP app to my Windows Phone (running build 10166). To do that, I set my MinVersion in Package.appxmanifest to 10.0.10166.0.

    That no longer appears to work.  When I try to deploy I get this error:

    Error : DEP3321 : To deploy this application, your deployment target should be running Windows Universal Runtime version 10.0.10240.0 or higher. You currently are running version 10.0.10166.0. Please update your OS, or change your deployment target to a device with the appropriate version.

    Is it still possible to deploy to the phone before Windows 10 mobile gets finalized?

    Friday, July 31, 2015 3:25 AM

Answers

All replies

  • NM...just did a better search:

    https://winplatform.wordpress.com/2015/07/28/error-dep3321-cant-deploy-to-windows-10-mobile/

    The short answer is that you need to set TargetPlatformMinVersion in the csproj file rather than MinVersion in Package.appxmanifest.

    • Marked as answer by David Cater Friday, July 31, 2015 3:27 AM
    Friday, July 31, 2015 3:27 AM
  • You will need to wait for a Windows 10 Mobile flight that supports the 10240 SDK for s a supported method.

    The hacks you have found to allow modifying a 10240 app to install on a 10166 phone are not supported or recommended. There are API changes and problems should be expected when running apps this way. If you do this please be prepared for your app to crash or misbehave. Confirm any problems in a supported environment (such as the 10240 desktop or emulator) before reporting them.

    Saturday, August 1, 2015 3:00 PM
    Moderator
  • Thanks, Rob. Noted. I want to be able to do some testing and experimenting on the phone, but I'll take any issues I see with a grain of salt and do due diligence on the emulator before reporting them.
    Saturday, August 1, 2015 4:26 PM
  • Can I ask when this will happen I'm dead in the water and it's very, very frustrating.

    Maynard J. Hartman, Jr.

    Sunday, August 2, 2015 7:36 PM