the provided package is already installed and reinstallation of the package was blocked - windows-phone-8.1

I'm developing Windows 8.1 Universal application with Visual Studio 2015. After creating app packages successfully, I'm unable to deploy app into Windows Phone device. Facing issue like "the provided package is already installed and reinstallation of the package was blocked". Please help me. Please find attached screenshot for reference purpose.

Related

WMAppManifest.xml file for deploying vcREG

I've been trying to deploy vcREG to my Windows Phone using the deployment app installed while installing Windows Phone SDK. I downloaded the app over the internet and I wanted to interop unlock my phone using it. But, while installing, it gives me an error, to fix capabilities in the WMAppManifest.xml file. Please help me by providing the correct file with all capabilities fixed.

Error trying to install a WP8.1 App in Windows Phone Mobile

Trying to install a WP8.1 App in a new Windows Phone Mobile 10 we are getting this error (We are using the "Windows Phone Application Deployment (8.1)" App):
Error - The provided package is already installed, and reinstallation
of the package was blocked. Check the AppXDeployment-Server event log
for details.
First, the app is not installed. We have verified twice.
Second, what is the AppXDeployment-Server and where I can find the log?
Thanks
The solution was as simple as update the Windows Phone OS to the latest version.
After that we can install WP8.1 Apps in Windows Phone Mobile.
First, the app is not installed. We have verified twice.
This error usually occurs when installing a package which is not bitwise identical to the package that is already installed. Therefore, if a package is rebuilt or resigned, it’s no longer bitwise identical to the previously installed package.
To fix it, you can increase your app’s version number, then rebuild and resign the package or remove the old package for every user on the system before installing the new one.
Besides, you mean the app is not installed before? That way you should use Windows Phone Application Deployment to install the package in default (C:) but not on the device SD card. If you want to install it on SD card, you should use Visual Studio to deploy your app.
Second, what is the AppXDeployment-Server and where I can find the log?
The AppXDeployment-Server provide more info to help you diagnose the cause of the error code.
You can follow steps below to access the event log:
• Run eventvwr.msc.
• Go to Event Viewer (Local) > Applications and Services Logs > Microsoft > Windows.
• The first log to check is AppxPackagingOM > Microsoft-Windows-AppxPackaging/Operational.
• Deployment-related errors are recorded in AppXDeployment-Server > Microsoft-Windows-AppXDeploymentServer/Operational.
Also, another option is to use PowerShell, try following command:
Get-Appxlog|Out-GridView
For more details, you might refer Troubleshooting packaging, deployment, and query of Windows Store apps.

The project needs to be deployed before it can be started

Whenever I am starting to test an Windows Phone app (even a blank app) on emulator, I am getting error "The project needs to be deployed before it can be started". The emulator will be started & run successfully, still no luck in deploying app on emulator. Getting error DEP6100 & DEP6200.
These are the stuffs I tried till now:
Checked "deploy" option in 'Configuration Manager'.
Tried deploying Windows 10 Mobile, Windows Phone 8.1 & Windows Phone 8 blank apps on different types of emulators.
Although I am able to run apps on my device.
I am running Visual Studio Enterprise 2015 on Windows 10 Enterprise.
The Emulator is x86 based and Phone is ARM architecture. To run the app in the emulator, change the CPU to x86 in the toolbar and compile it. Now you can deploy te App to the Emulator and test it.
I faced problem like that and I fixed it by right click on project > properties > change platform target to X86.
I just started playing with Xamarin Forms, and ran into this error after following the Xamarin Forms Quickstart Guide. The error message actually said to Run the Deploy... for the project that you are trying to run. Deploying the project seems to install some Windows dependencies that might be required to run the UMP. After deploying the project, it ran without issue as a Windows Desktop app, or if you change to Device, then install emulator, as Windows Phone app.
This error was relentlessly happening to me as well, and I found out that it was because my project was saved on a SanDisk SD card. If I simply moved the entire solution to my C drive, it built without issue, but on the D drive, it would give this error.

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

Issue packaging a Windows Phone 8 app

I just installed Visual Studio 2013 on my machine (which runs Windows 8.1 Enterprise Build 9600). I checked to include the Windows Phone 8 SDK option during install.
Once complete, I launched VS and tried a new Windows Phone App project.
Created and built fine. However. when I tried to run on the emulator, I get the error:
Xap packaging failed. Cannot access a closed Stream.
... and ...
Could not find file 'c:\users\wade\documents\visual studio 2013\Projects\DataBoundApp1\DataBoundApp1\obj\Debug\XapCacheFile.xml'. Please rebuild the solution and try again.
Tried a clean and rebuild but still occurs. Also happens with the data bound app project.
So, I tried installing some of the SDK updates found here: http://developer.windowsphone.com/en-us/downloadsdk. All installed without a problem; however, when I tried again I got the same error.
Note: the emulator starts and runs just fine. The problem is creating the phone package and deploying to the emulator.
I'm not sure how to fix. Anyone have this issue?
UPDATE:
I have tried reinstalling the Windows Phone 8.0 SDK and all the updates. I should note that I also have VS 2012 installed and I also cannot create a Windows Phone 8 app in VS2012.
Here's an image of the WP8 stuff installed:
I resolved this issue by downloading the full Windows Phone 8.0 SDK ISO and installing (followed by a repair on the two updates).
I wish I could better explain how my machine got into this state. My suspicion is it's because I already had VS2012 installed on the machine and VS got into a confused state.
Total time spent? 4-5 hours.