Deploying Windows Phone 8.1 app to Windows 10 Mobile - windows-phone-8.1

I've been developing a Windows Phone 8.1 app using C#/XAML. My configuration is up-to-date Windows 8.1 PC + Visual Studio 2013.
I can test my app on WP 8.1 emulator that comes with VS2013, and also no problem deploying it on physical Windows 8.1 device.
However the app also runs on Windows 10 Mobile because the platform currently allows it that way. Which is good except, my app doesn't work as intended since the device got Windows 10 Mobile Anniversary Update.
I don't know if the problem is in Windows or in my app but that's not important here.
I need to create a hotfix for the issue. And here comes the question. Is there a way to deploy WP 8.1 app to Windows 10 Mobile without submitting it to the store first, without upgrading to Windows 10, and preferably without upgrading to VS2015?
UPDATE The reason I want to deploy WP 8.1 app to Windows 10 Mobile is to test if my patch fixes the issue manifests with Windows 10 Mobile. At the moment I don't understand where is the problem and keep submitting the fix attempts to the store is not ideal.
Thanks.

Is there a way to deploy WP 8.1 app to Windows 10 Mobile without submitting it to the store first, without upgrading to Windows 10, and preferably without upgrading to VS2015?
Yes, it is possible to deploy WP8.1 app to the Windows 10 Mobile without submitting it to store and without upgrading to Windows 10 and without upgrading to VS2015. But you need to make sure you have the Windows 10 Mobile device for you to test.
If the Windows 10 Mobile device is in your side, you can unlock the Windows 10 Mobile device and deploy your app to the Windows 10 Mobile device by using the USB with the same method that you deploy it to the Windows Phone 8.1 Mobile device.
Or you can try to sideload your app on the Windows 10 Mobile device without submitting it to the store by using the Application Deployment tool. For more information, please try to refer to this article:How to deploy Windows Phone 8.1 apps with the Application Deployment tool.

Related

How to debug windows phone apps on windows tablet

Ok so I got windows 8.1 nextbook to test on. I created some basic browser app in visual studio running on virtual windows server 2012 r2. My main machine is windows 7. When I connect with USB cable nothing happens (who could have predicted that). I thought I could deploy my app on tablet and do a debug like that but haven't find a way to do it. Anybody here with experience in this scenario, I googled everywhere and the only thing I found is that documentation sucks
You cannot run a Windows Phone app on Windows. You need a Windows Phone or a Windows Phone emulator to run the Windows Phone app. To run on Windows you need to write a Windows Store app. Windows 8.1 on a tablet is the same as Windows 8.1 on a desktop or laptop computer.
In your case you'll probably need a physical Windows Phone since you are already running virtualized. The Windows Phone emulator is a Hyper-V image and is not supported nested in a Hyper-V guest OS.
If you write a Windows Universal app then the code will be mostly the same for the Windows and Windows Phone targets (the UI layer is usually different), so you can write and test the bulk of the app as a Windows Store app to run on your tablet and then recompile for Windows Phone.

Visual Studio Error: DEP6250

everytime I try to start my app on my Lumia 1020 I get this error:
Error: DEP6250 : The Device runs on a not supported version of the OS
(I translated it from german...)
I "unlocked" my phone a few minutes ago so I think that this won't be the problem.
I also searched for an update but everything is fine...
I used the free Visual Studio express 2013 for store developers
Does anyone have ideas?
Your problem is that you are probably trying to deploy a Windows Phone 8.1 app to a device running Windows Phone 8.0. That is not possible. You need to Either create a Windows Phone 8.0 app and run it on the device or update your device to Windows Phone 8.1 in order to run WP8.1 apps. Windows Phone 8.0 apps will work on WP8.1 but the other way around will not happen.

Need to convert my Windows Phone 8.1 app code to Windows phone 8

I have developed an app for Windows Phone 8.1 but now I want the same app to developed in Windows phone 8.0. It is possible to do that? Is there any migration tool available or I need to develop from scratch.
No you can't downgrade any app after you've started developing. IF you wanted to develop a WP8 as you said have to start it from the scratch. But still you can upgrade a WP8 app to WP 8.1 (For Silverlight Apps). If it's normal WinRT app you can only develop targeting 8.1 only.
For more have a look here
Hope it helps!
You just compile the 8.0 release and upload the *:xap to the store without deleting your 8.1 *.appxupload.
Uppdate App >> Upload and describe your package(s) >> Add new
You might wanna consider making a phone 7 app for best coverage (7 will work for 8.0 users).

Window app development

I am totally new in Windows app development, and wondering whether the application developed for, let's say, Windows mobile 8.0 will work on Windows mobile 7.8 and Windows RT, Windows 8, Windows 8.1, OR there is need to adapt the application?
I would really appreciate any tutorial to have an understanding what to do not to fail.
Thanks.
To summarize the answer
Windows Phone 7.x apps can run on Windows Phone 7.x & 8.0 (reverse not possible)
Windows Phone apps can't run on Windows 8
Current desktop apps can run on Windows 8 (not Windows 8 RT)
Current Windows 8 (or Store) apps can run on any Windows 8 device
If you want to build an app which should run on all devices i.e. Windows Phone 7.x and above, Windows desktop, Windows 8 etc... You can separate the user interface part and business logic. There is something called as Portable Class Libraries. You can use them to share the code between apps.
For more information:
http://mayurtendulkar.com/2013/09/cross-platform-hybrid-or-native/
http://msdn.microsoft.com/en-us/library/vstudio/gg597391(v=vs.100).aspx
Hope it helps.

Windows Phone 8 SDK debug wont start

I have installed Windows Phone 8 SDK, openened the VS express for Windows Phone,
created New Project with simple app, pressed F5, but the emulator wont start.
Is comes up with error:
Exception from HRESULT: 0x89721800
I don't have any network drivers installed which should be called Windows Phone Emulator.
I have Windows 8, with built-in Administrator account and full privs.
P.s. Main reason for this I want to deploy some apps on my Nokia Lumia 800.
I have unlocked it, but when i was deploying app with deployment tool, it came up with the same error message.
P.p.s I've installed Windows Phone SDK 7 and there the emulator worked, but i can't find any way to deploy app to phone
I blogged about this a couple of weeks ago. You can see the full details here: Resolving windows Phone Emulator Problems
XDE cleanup, and Hyper-V is a very common reson for problems with the emulator!
Regarding deployment to phone from windows phone sdk 7, remember to change debug device from "Emulator WVGA 512 MB" (or what ever you use) to "Device", and always start Zune before your start debugging and deployment.
If you had installed Windows 8 (Single Language or Home Edition) with Windows Phone 8 SDK you can't develop mobile applications because it doesn't support Hyper-V.
The only way to work with Windows Phone 8 is to change your OS to Windows Pro or higher.