Methods to convert appx to xap - windows-phone-8

The title says it all. Is it possible to convert *.appx file to *.xap file? I am limited only to emulators that can handle xap. These work in windows 7.

You cannot do that. If your emulators can handle only XAP packages, that menas you have Windows Phone 8.0 emulators. APPX packages are for 8.1 apps and you cannot run 8.1 apps in an 8.0 emulator.

Related

Install XAP file locally in windows phone 8.1 device

Hope You are doing well.
Actually i have created one windows phone 8 application. So for testing i have installed the .xap file locally into windows phone 8 and it is working fine. But if i am going to install that .xap package in windows phone 8.1 or later it is not getting installed.
I have made research and found that the windows phone 8.1 and later OS version devices are accepting the APPX Package. They will not allow to install .XAP locally. Now the scenario is like that my client wants to test this application in windows phone 8.1 device.
So, Can anyone help me out that how can we install locally XAP package into windows phone 8.1 device?
Awaiting Response. Thanks in advance.
You can sideload your .xap package on Windows Phone 8.1 device using Windows Phone Application Deployment Tool (for 8.1).
Before installing , you need to ensure the device has been registered for development. You can use Windows Phone Developer Registration (8.1) to enable your device for development.
And you could search for the tool from the Windows 8.1 start menu.

Windows Runtime Component (for Universal 8.1) error

I created a simple application that updates when we change timezones.
The application runs without errors in both the Windows Phone 8.1 emulator and real phone, but When in Windows 8.1 I get this error:
This is my project (wrote with VS2015 for Windows Universal 8.1):
My Project Files
source of Runtime Component:
Source code
If possible can you help solve this for Windows Universal 8.1 as this file is only for Windows Phone 8.1.
I'm sorry for bad English.
Per the documentation this is not supported on Windows 8.x.

How to test update of Windows 8.1 appx app?

My use case, I have Windows 8.1 XAML app v1.0 in appx package. I'd like to deploy this version on my tablet, use it for a while and then test update of this app to version 1.1 which I have in another appx package.
Is this easily possible for tablet apps? I know that for Windows Phone there is Application Deployment Tool, but for Windows 8.1 there is nothing I know about.
Thanks
As long as your tablet is running Windows 8.1 you can side-load the app onto it.
Create the app package using Visual Studio. Then run the Powershell script on your tablet to install the package. (You will be required to have a developer license on the tablet). When you are ready to test the next version just follow the same steps.
https://msdn.microsoft.com/en-us/library/hh975356.aspx?f=255&MSPPError=-2147217396#Create

How to port Windows Store 8.1 apps to Windows 10?

I have developed few apps in windows store 8.1 and i want to port them to windows 10.
Previously when windows 8.1 has released, In Visual Studio when you open the windows store 8 app code, in the solution we had an option called target to windows store 8.1, then it takes care of everything.
Now how to Port Windows store 8.1 apps to Windows 10 using C# and xaml
Any help or any article on this please?
Thanks in advance
The best way to do this is to create a new Windows 10 project based on the universal template and then copy all the source files and assets to it. There's a detailed description on MSDN here:
https://msdn.microsoft.com/en-us/library/windows/apps/dn705768.aspx
and here:
https://msdn.microsoft.com/en-us/library/windows/apps/dn751495.aspx
0) Install Win10 RTM
OK? =)
(But, If you just want to bulid the UWP project, Win8.1 is also ok. But you can't use the xaml designer, inspector, etc.... I can't recomend this way)
1) Install VS2015 RTM and Win10SDK RTM.
By default, Win10SDK is NOT installed. You should select the Win10 SDK from installation option dialog.
1.5) Update NuGET 3.1.
You can see the Flag Icon on the top-right corner of VS2015 Window. Click it to install Nuget Update.
2) Migrate your solution and project.
You should modify your .csproj manually with this guide.
Migrate apps to the Universal Windows Platform (UWP)
After that, you can build your app with VS2015.
Note - if you got the thousands of compile error, try Installing following nuget package from nuget console.
Microsoft.NETCore.UniversalWindowsPlatform
3) Modifying your app to suit for UWP manner
Following pages helps you.
Move from Windows Runtime 8 to UWP
Porting Windows Runtime 8 XAML and UI to UWP

Can Windows Phone 8.1 application work in Phone 8.0?

Is it possible to work application, which developed for 8.1 OS, in Phone which have 8.0 OS?
As far as I know you can't. You could only deploy 8.1 apps on a device which is updated to 8.1. It's just a matter of updating the 8 OS. But after the 8.1 update you could still deploy WP8 apps too.
For more:
http://msdn.microsoft.com/en-us/library/dn642082(v=vs.105).aspx