Unable to debug Windows Phone apps when installed from the Store - visual-studio-2013

I develop a Windows Phone app. Publish it to the Store (BETA or LIVE). I install the app from the store (to test) to my WP 8.1 device. Now having done this, anytime I try to debug the app (Run to DEVICE) I get the famous:
"A specified communication resource (port) is already in use by another application."
I can bypass this error and debug when I change my assembly's GUID to NOT match with the App in the store. But then, obviously, I cannot test the store functionality (listing the in-app products and such).
Is there any workaround / solution for this?
VS2013 Ultimate, WP8.1, XNA project on Win8.1 lastest updates.

verifiy you App Manifest File 4 WP8 (XAML) in VS
the GUID parameter must be look like this
see section "Changes in the upgraded app manifest file" & find PublisherID parameter value
http://msdn.microsoft.com/en-us/library/windows/apps/jj207030(v=vs.105).aspx
Regards !
AP

Related

Xamarin Windows Phone Store Package

I' am in a bit of truble at the moment.
I try to build my Xamarin Windows Store App for publishing, but the Create App Packages Wizard, wont open I tried many solutions from the web, like unloading and reloading the project, or making a new project. But the wizard does not open with my solution i treid a normal Windows Phone app(no Silverlight), that worked but i could not Port my xamarin project to a standard Windows Phone App.
Has someone encountered a similar issue with Xamarin and Windows Phone,
or can anyone help to get my app into the Appstore?
Thanks.
I would have asked in the Xamarin Forum, but I cant reach them siche this morning.
And sorry for the engrish.
To submit package to the windows phone store you'll need to build your project (for ARM in Release mode to avoid warnings). Then on developer site when there is button to upload package you have to attach *.xap file from your project's bin\release folder (or bin folder you have specified). Then you can go through the next windows phone store app submitting steps.

Windows Phone 8.1 App Signing

We are working on a universal app developed with Apache Cordova 3.6. We want to distribute it via HockeyApp to our beta testers and need therefore need to sign it.
For Windows 8 / 8.1 Store Apps this is no problem because you can set the certificate to sign with in the project file. But is there an equivalent for Windows Phone 8.1 (set the certificate somewhere) or do we need to sign the app via the tools that ship with the Windows Phone 8.1 SDK?
Thanks for the help
most of your Problems will be Solved here.
You will need the set the Identity inside your Package.appmanifest corresponding to your Signing certificate.
<Identity Name="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" Publisher="CERTIFICATE_STRING" Version="1.0.0.9" />
If you run into error 0x8007000B while signing you will find the correct CERTIFICATE_STRING in your Windows Event Log. Go to Computer Management > Event Viewer > Applications and Services Logs > Microsoft > Windows > AppxPackagingOM > Microsoft-Windows-AppxPackaging/Operational > And then find your error. Inside the error description you will find your correct CERTIFICATE_STRING

Windows Universal App - In-app product for Windows 8.1 not working

My app is already published on the Windows Store and Windows Phone Store. The consumable in-app products are working for Windows Phone but not for Windows.
This code does not work for example:
var listing = await CurrentApp.LoadListingInformationAsync();
it gives this exception:
HRESULT: 0x801900CC
And when I want to purchase a in-app product, it tells me that this app is not found in Windows Store. But it is already published today and I can download it from the store.
I am doing this like in MSDN documentation and it is the exact same code for the Windows Phone version and there it works. I had to deactivate in-app purchasing in Windows 8.1 app because otherwise it wouldn't pass certification because of this problem. The in-app products are well defined in the store during submission. And the app has correct name and publisher infos in Visual STudio 2013.
So do you know the problem here?
Ok it seems like you have to make sure that in app products don't crash even when no internet connection or server is down or app not published yet. Because otherwise the certification will not activate the products even when they were defined before submitting. Only when you handle exceptions and the app doesn't crash they activate your in app products.

Windows 8.1 AdControl for Universal Apps (Phone and Desktop)

I get the following error compiling my new universal app for Windows Phone and Desktop version 8.1:
The SDK "MSAdvertisingXaml, Version=8.1" cannot be referenced alongside SDK(s) "MSAdvertisingXaml, Version=6.1", as they all belong to the same SDK product Family "Microsoft.Advertising". Please consider removing references to other SDKs of the same product family.
They both use the same tool, AdControl, and it was running phone while I built the Windows Phone side of the app. Once I dropped the same control into the Windows Desktop side of the app, I get this error. I can't get ANYTHING to return when I Google the error message. What is the problem???
In the top portion of the list within your "Solution Explorer" control (of MS Visual Studio - my version is 2013), look for a "References" section. Simply delete the 6.1 item, as you want the latest version of the AdControl, which should work with both sides of your universal app.

Issue on deploying phonegap build directly to windows phone

Iam doing a phonegap project now, i have deployed my app to many android devices, all works fine. Started on windows phone & i found here phonegap apps cant deploy directly to windows phone.
I want to know; whether the steps given below (Steps for unlocking windows phone) will make my build (.xap file from phonegap build) runnable on windows os device?
Install the Windows Phone 8 SDK if you do not have it on the system. This is required for all developers.
Register for a Windows Phone developer account. If you are a DreamSpark member, you can register for free.
After the SDK is installed on the system, search for the Windows Phone Developer Registration program from the start screen.
Connect your phone to the computer. The program should detect the device immediately. Hit the Register button when it is clickable.
A log-in window will show up on screen. Please fill in your developer account information in the appropriate field, and then hit Sign in. The device registration process will start once you are signed in. If you are successful, you will receive the following message: Congratulations! You have successfully unlocked your Windows Phone.
Each developer account can unlock up to three devices. If you want to delete a device from the account, log in to the developer Dashboard, choose Account -> Phones, and then delete the device from there.
Please help me.
This is currently not possible.
The Development team said they are looking into it and expecting to have it ready Q3 - Q4 this year.
Here's a link to the feature request(https://github.com/phonegap/build/issues/118)
Ismael
This feature is now supported. We can create .xap file with Phonegap online build itself. It is beta so there are some limitations.
Check here

Resources