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.
Related
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,
I am using Parse.com storage service for Windows Phone 8. When I try to initialize
ParseClient.Initialize("MY_APP_ID","MY_NET_ID");
I am getting this exception:
System.NotImplementedException: The method or operation is not implemented.
at Windows.Storage.ApplicationData.get_LocalSettings()
at Parse.PlatformHooks.SettingsWrapper..ctor()
at Parse.PlatformHooks.SettingsWrapper.get_Wrapper()
at Parse....
I am targeting Windows Phone 8 and I found out that WP8 is not supporting LocalSettings, just WP8.1.
When I target it to WP8.1 everything is working fine.
But...
I have another application for WP8 in which I am using Parse and everything is working fine.
How can I avoid this problem?
Just for info: App which does not work was built for WP7.1 and than upgraded to WP8, and another which works fine was from beginnig targeting WP8.
Thanks
I found the solution. If someone has the same problem, just install older version of parse package in Nuget.
PM> unInstall-Package parse
PM> Install-Package parse -Version 1.2.16
Am porting my Windows Phone 8 app to Windows Phone 8.1 and everything is working fine in debug mode. But when I set in release mode and while building the application, I get the error,
The type of namespace "FlickGestureEventArgs" could not be found
The type of namespace "ShakeGestureEventArgs" could not be found
How to overcome this? I couldn't launch the app certification kit when in debug mode.
Got solution for my own question and here is my answer.
First I re-installed the WP toolkit from nuget using the command
Install-Package WPtoolkit
So that I can able to solve FlickGestureEventArgs. And similarly I thought this will be solution to my another problem ShakeGestureEventArgs. Started searching for the new ShakeGesture.dll and find that in below link.
ShakeGesture.dll
Now my problem is solved. If you are facing the same issues, just re install the packages which shows error and you can able to solve it.
So with the newest release of cocos2d-x, I noticed the new project command generates a windows phone 8 folder to go along with the other auto generated projects. However, upon opening the generated solution and trying to build I get this error:
C:\Projects\MyGame\cocos2d\cocos\cocos2d.h(226): fatal error C1083:
Cannot open include file: 'platform/winrt/CCGLViewImpl.h': No such
file or directory
The project builds for all the other platforms. Is windows phone 8 officially supported yet? Is there a quick work-around to get up and running?
(Also I have a windows phone developer account and can build other windows phone solutions, I am using visual studio pro 2012)
It seems the latest version on github it now all works, so maybe it was still a work in progress.
(Note that it doesn't work in 3.2, the latest version posted on the website, but it does work in the latest github code as of now).
I am starting the development on windows phone 8, the famous JSON.NET does not support windows phone 8 yet, is there any other library which can be used for this purpose?
The JSON.NET codeplex site says that WP8 is supported.
Update: The JSON.NET NuGet package should just work with a Windows Phone 8.0 project. Adding it in VS2012 NuGet manager pulls in the WP7 version of JSON.NET. (packages\Newtonsoft.Json.4.5.10\lib\sl3-wp\Newtonsoft.Json.dll)
JSON.NET is now also available as a Portable Class Library which you can consume from WP8 (available in NuGet or in source form).
Had the exact same problem - turns out I didn't have the newest version of NuGet.
To upgrade, click tools -> extensions and updates and then click the Updates-tab. Update everything, restart the program and try again. :-)
I was having this issue. I was able to compile the source for Windows Phone 8 instead of Windows 7.1 and it worked. NuGet would not work for me.
Here is how I did it:
Open up solution JsonXXrXX.zip\Source\Src\Newtonsoft.JSON.WindowsPhone.sln
Go to properties for Newtonsoft.Json.WindowsPhone Project(Right click on the project then properties)
For the dropdown of "Target Windows Phone OS Version" select Windows 8.X
Compile.
Grab the DLL, PDB, and XML from the output directory
Add Reference to the DLL file in your Windows Phone 8 Project
Thats it. I can't vouch that it works 100% or that you'll be able to submit your app. But it should hold you over until there is official support.
For complex json you might find this website helpful: http://json2csharp.com/#.
If you don't wanna make too fancy stuff (or need dictionary) suppport, you can also just use the built-in DataContractJsonSerializer (http://msdn.microsoft.com/en-us/library/system.runtime.serialization.json.datacontractjsonserializer.aspx)
Btw: At least in https://json.codeplex.com/discussions/401305 some people report that the WP7.1 dll works for them, using this file: "Newtonsoft.Json.4.5.7\lib\sl4-windowsphone71\Newtonsoft.Json.dll".