How to test update of Windows 8.1 appx app? - windows-runtime

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

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.

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

Windows Phone Emulator 8 can't install Xamarin application

I have created a Xamarin application and compiled to Release. It was succesfully tested on an Android emulator so I decided to deploy it to a Windows Phone 8.0 Emulator.
I tried to use the Application Deployment but it cannot install because it starts the emulator that never boots, it shows OS starting (starting the emulator on its own is working).
So I downloaded it to the phone and when I try to open it, it says:
Can't install company app. There is a problem with this company app.
Contact your company's support person for help.
Why is the app considered company app? How can I install it to the emulator? What should I set?
The solution consists of two steps.
The company app issue is present because I've downloaded the application from a website, so it is unsafe (the source is the Internet). I have to install it through application deployment (via Visual Studio 2013 or the Windows Phone Application Deployment application).
The second step is to discard (and uninstall) Windows Phone 8.0 and change to Windows Phone 8.1. That helps a lot.

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).

Windows phone 8.1 app deployment error :Error-package failed updates, dependency or conflict validation

This is what exactly is did:
Installed windows phone 8.0 SDK.
Installed windows phone 8.1 SDK(By first installing VS 2013 professional edition and later installing update R2).
After that 8.1 application xap deployment is failing
Unable to deploy xap on windows 8.1 phone using 8.1 deployment tool “Error-package failed updates, dependency or conflict validation”
The phone i am using is 8.1 updated
Can you please let me know if iam missing something?
Thanks in advance
Using Windows Phone Application Deployment (8.1), I just ran into same issue. I had tried to install an appx package which was built for Store in Release Mode.
I then realised I was trying to install an ARM build onto the emulator which needs an x86 build to run.
So instead I deployed the ARM Release Mode .appx to a physical device so I could test what I needed to test.
Hope this helps!
Not a real answer but an un-explained work around. I've recently started developing against windows phone. I am working on a Windows 8.1 machine that was previously a Windows 8 machine, previously using VS 2012 to develop against WP 8 and now using VS 2013 to develop for WP 8.1.
At intervals I start to receive the same error as reported by the question, both when deploying our WP 8.1 app to an emulator and when trying to run or debug our WP 8.1 unit tests. So far it's been resolved each time by restarting VS 2013 (and the emulator). Restarting the emulator alone has sometimes been sufficient but not always. I have not checked whether it works against a concrete device. More significantly I have no idea why deployment breaks or stopping/starting resolves it...
Our application and unit tests are WP 8.1 silver light projects and use SQLite.