Windows Phone Project Load Failed - windows-phone-8

I have a solution that include 3 Windows phone project. When I get them from TFS, 2 project is running correct but the main project is giving error. What should I do?
Extra note : Main project has service reference.

From what I see you are loading a solution with 2 portable class libraries and 1 windows phone 8 project. Can you create a new phone project and open it?

Related

Issues while publishing a Windows phone app in the Windows Store

I am trying to upload a windows phone app on store. The previous version which was uploaded is 4.0.0.0 and the new package which I am trying to upload is v4.1.0.0.
As per my understanding v4.1.0.0 is higher than v4.0.0.0. I dont understand why I am getting the below error
Error message from Windows :
You’ve uploaded another package with the same properties as this one. When this submission is published, the other package will replace this one.
This package (4.1.0.0) will be removed after you save this page because you have a higher-versioned package that supports the same customers.
I think you need to remove the package v.4.0.0.0 manually and save only v.4.1.0.0

Setup for Windows Phone 8 Application Development. Error while Making new Project

I have :-
1) Windows 7(64 Bit)
2) Visual Studio 13(Installed)
3) Windows Phone SDK 8.1(Installed)
When I am creating new Mobile project, I am getting Error,
A problem was encountered creating the sub project 'App.Mobile.Native.WinPhone'. The project file 'C:\Users\AppData\Local\Temp\us2to0hu.qdd\Temp\App.Mobile.Native.WinPhone.csproj' cannot be opened.
There is a missing project subtype.
Subtype: '{76F1466A-8B6D-4E39-A767-685A06062A39}' is unsupported by this installation.
Please Help.
I searched for the Subtype: ‘{76F1466A-8B6D-4E39-A767-685A06062A39}’
It must be Windows Phone 8/8.1 Blank/Hub/Webview App
Refer to:
http://www.codeproject.com/Reference/720512/List-of-Visual-Studio-Project-Type-GUIDs
Please install windows 8.1 SDK from the following link:
https://dev.windows.com/en-us/downloads/sdk-archive
Best Regards,

Windows Phone 8.1 HubApp + HtmlAgilityPack

I know that using HAP in windows phone apps is very problematic, but I very need to. So the problem is that when I add System.Xml.XPath from silverlight 5 or 4 I get "Xaml Internal Error error WMC9999". It's got to be noticed that the version of HAP is 1.4.6 but not 1.4.9 (tha latest one), because it cannot be installed from NuGet (just doesn't add reference) and I've found no links to download it manually.
In old windows phone 8 silverlight app everything worked great.
Please, help.
Use the HtmlAgilityPack-PCL nuget package with Windows Phone 8.1 XAML apps, it works fine with no need to add any references manually.

Windows 8.1 Store app MAKEPRI build errors for new project

I just wanted to start building apps for Windows Phone but after creating a new project for Windows Phone and hitting the F5 button to run it, I get these errors:
1>MakePri : error 0x80073b0a: Initializing Indexer
1>MakePRI : error 0xdef00042: Invalid qualifier: Scale
Note this is a new project. I haven't modified anything in it. I also tried other templates and none of them ran successfully. The verbose build log was quite large but if you want to, I can post it here. I checked and the the installation of the Visual Studio is full (SDK and everything else is installed.)
I'm using Visual Studio 2013 Update 2 and so far I haven't had any problem with it. The project is targeting Windows Phone 8.1

Deployment error in Windows Phone 8.1 app with capability Shared User Certificates in manifest

If i check the capability "Shared Used Certificates" in the Windows Phone 8.1 application manifest i get the following error:
Error : DEP0001 : Unexpected Error: Package could not be registered.
(Exception from HRESULT: 0x80073CF6)
Manifest
<Capability Name="sharedUserCertificates" />
I am trying to deploy to a Nokia Lumia Icon with Windows Phone 8.1 developer preview.
Any idea what i am doing wrong or what prereq is not met?
I was able to deploy my app to the emulator, but not to a real device. I got the same error. I asked my contacts at the Phone Team and they said this is a bug and will be fixed with the post RTM updates. It should definitely be possible to sideload apps using the 'sharedUserCertificates' to real devices for normal app developers.
Getting such an app deployed through the Store may be restricted, though. This scenario is primarily meant for enterprise apps, deployed within enterprises.
I wrote a blog post about this.
If I set my phone to install apps to the phone it works just fine. If I switch it back then I get the error.
It has something to do with SD cards!! Not the SD cards per-se , but the mech The only thing different was I installed a new SD card this weekend to my Lumia 1520 with Developer Unlock. I am running VS 2013 Update 4 and have a StandAlone Phone application using a Windows 8.1 shared app class. It was working before and now its not. same error as MAGNUS
With save apps to SD CARD setting in storage sense set
If you use verbose build output it eventually says:
2>Follow the phone setting 2>Phone setting says apps to be installed
to SD card 2>layout root folder:
D:\WPSystem\SharedData\PhoneTools\AppxLayouts
With save apps to PHONE card setting in storage sense
If you use verbose build output it eventually says:
2>Follow the phone setting 2>Phone setting says apps to be installed
to internal storage 2>layout root folder:
C:\Data\SharedData\PhoneTools\AppxLayouts
search your Detailed or "verbose" build output for the term "Phone setting says"
That will get you close. Good luck.
I can confirm that VS 2013 Update 4 causes the error:
Error : DEP0001 : Unexpected Error: Package could not be registered.
(Exception from HRESULT: 0x80073CF6)
My application was deploying to the phone fine before the update, and started failing immediately after the update. Modifying settings:
Settings/Storage Sense/Store New apps on my: phone
Solved the problem. Thanks Matt for the tip, saved me alot of time.
Try to uninstall current application in your phone, and run agian.
For me its solved
This problem can be related to re-use of the same app template on Windows Phone (does not affect Windows desktop apps). In the Windows Phone section of the solution explorer, find your app manifest file (Package.appxmanifest), and review the following line near the top of the file (#'s in this example are representative, not actual):
<mp:PhoneIdentity PhoneProductId="12345678-1234-1234-1234-123456789ABC" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
If you have re-used the same app template, then the PhoneProductId number must be different from one iteration to the next. I suggest simply iterating the last digit in the string (e.g., change 1 to 2, or 2 to 3, etc....). Once you make certain all your Windows Phone apps have individualized values in this field, you should be able to deploy them all independently.
It could also be a missing image in the Package.appxmanifest. Check the visual assets tab in this file (VisualElements in XML) to see if there is some logo missing.
I changed package name in Package.appxmanifest file. So I had to Uninstall app and Re Installation helped me.