Click here to Skip to main content
15,119,514 members
Articles / Mobile Apps
Technical Blog
Posted 2 Nov 2015

Stats

9.1K views
1 bookmarked

Can’t Deploy to Windows 10 Mobile 10581? Read this

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
2 Nov 2015CPOL2 min read
If you can't deploy to Windows 10 Mobile 10581, read this...

I’ve been doing Windows 10 UWP development since July. During that time, I’ve upgraded from the latest slow-ring builds of Windows 10 all the way up to 10565 on my work desktop. Also during this time, I’ve updated our test bench devices with the latest Windows 10 Mobile fast-ring builds so we weren’t surprised at any point and could be testing against the latest code. However, after pushing our test bench up to 10581, a weird thing happened:

CSgQHn5WsAEGX7K

Why is that? I haven’t changed anything except the OS running on my device. Why am I getting a deploy error, especially one saying the device couldn’t be found? Do I need an SDK update or something?

Things got even more weird here. Try as I might, every time I downloaded the SDK and Emulators from dev.windows.com, I always got the 10240 versions. However, on my home computer, I managed to land a new version: 10563. Sweet.

I installed these and got the same error but this time mentioning some Windows Service that wasn’t turned on. Something like this:

Image 2

Looking through my Service Manager UI, there was no such service installed on my work computer.

I went through the process of uninstalling *all* Windows 10 things from the PC and reinstalling them. I needed 10240’s SDK because my app’s project files still target that, so I couldn’t only install 10563. No matter, I unintalled everything and put on 240 + 563 and tried again.

No dice.

I’ll save you the rest of the details and cut to the chase:

  1. Microsoft has introduced a dependency but in the deploy toolchain for 10581 Mobile build (confirmed by my MS rep from work)
  2. The fix is to install the Windows Phone 8.1 SDK component of Visual Studio 2015 then try deploying again

The WP 8.1 SDK is the component that installs the service being complained about in the latter screenshot. Once this service is present, deploy works like a charm.

I’m told this will be fixed in a “future public update” though I don’t know if this means an update to the UWP SDK, Windows 10 SDK, Visual Studio, or Windows 10 Mobile. So… best just free up 4GB of space on your drive and throw on the WP 8.1 tools for now.

Good luck.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

BC3Tech
Software Developer (Senior)
United States United States
I'm a Sr. Software Engineer in the Seattle area primarily focused on serverless technologies in the cloud. In my free time I enjoy hiking & other adventures with my family around the Puget Sound and the country! You can find out more about me at my homepage: http://bc3.tech/brandonh

Comments and Discussions

 
QuestionLink to WP 8.1 SDK? Pin
oudoulj3-Nov-15 11:36
Memberoudoulj3-Nov-15 11:36 
AnswerRe: Link to WP 8.1 SDK? Pin
BC3Tech4-Nov-15 5:00
MemberBC3Tech4-Nov-15 5:00 
The WP 8.1 SDK is included in VS 2015 as an additional component. Go to Add/Remove Programs, 'Change' VS 2015, click 'Modify', then choose the WP 8.1 SDK to install and you should be all set.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.