Why can't I use htmlagilitypack with windows phone 8? What else can I use to Parse HTML in WP8? - html-parsing

Why can't I use htmlagilitypack with windows phone 8? I appears to be supported on all platforms including Win8 Win8RT and WP7/WP7.5 and Silverlight 5. Is there one of the DLLS that would work?
What else can I use to Parse HTML in WP8? All suggestions are for the htmlagilitypack.

The issue appears to be that the NuGet package references the incorrect assembly for WP8.
By default it seems that it references the binary in sl4-windowsphone71, manually removing the reference to the HtmlAgilityPack DLL and referencing the binary in the sl3-wp folder removes the dependency problem.
That is how I have resolved it anyway.

As anthony mentioned, just replace the reference from sl4-windowsphone71 to sl3-wp and it will work.

It seems that Windows Phone 8 doesn't like the System.Xml.XPath.dll from the Silverlight SDK. My app that works fine on Windows Phone 7.5, won't work on WP 8. I am currently researching for another alternative for HTML Agility Pack.

You probalby can and you've either forgot to unblock the web downloaded DLLs or forgot to update your NuGet package manager. Let me know if that isn't the case.

The portable class library version of htmlagilitypack:
https://github.com/Deathspike/HtmlAgilityPack-PCL
it is out on nuget!

In my lib folder, sl3-wp folder is empty.
I fixed by downloading HtmlAgilityPack-PCL from NuGet Manager

Related

System.Data.SQLite (.NET) on Xamarin Android

I have a project that uses the NuGet package System.Data.SQLite for accessing the DB.
At compile time all works fine, but at runtime when I initialize the connection this error occurs:
System.DllNotFoundException: SQLite.Interop.dll
I have tried to install the NuGet package System.Data.SQLite.Core but nothing changed.
How can I solve this? Anyone has found this error too?
Thank you!
I have checked the tags and the dependency of the package, it seems the package doesn't support Xamarin. In addition, there were two existed case which had the same problem. You can check this two case.
Both of them used the Microsoft.Data.SQLite instead of the System.Data.SQLite. So you can also choose to use this package.

Cannot create hyperlink in Sitecore 8.1

As stated in the subject I am having an issue with Sitecore 8.1
The thing is that when I go to an item in the CMS and try to create a hyperlink in the rich-text-editor I got this select item hanging. It is showing like 'loading' but it goes infinitely - never stops.
Could someone help me?
If this was an upgraded environment from an earlier version of Sitecore (7.x) to Sitecore 8.1, I would verify that the appropriate /sitecore/shell files are on the file system for the 8.1.
A way to do this is to take the 8.1 zip file download, and just copy over the sitecore/shell folder. This should ensure that all appropriate 8.1/speak files exist as intended.
If this was a fresh install of sitecore 8.1, then as suggested in comments, I would look through logs to see if you can identify a suspect log error.

GSP files do not open in intellij editor community edition

I copied my grails app to another computer and now .gsp files do not open in the editor. They also show a G icon with an arrow next to them. Dragging and dropping or double clicking do nothing. Updating intellij didn't help either
As Dónal mentioned, Grails is not one of the frameworks supported by IntelliJ IDEA Community Edition (you need the Ultimate Edition). You can view the feature comparison here.
Hi I am probably answering now when u no longer need the answer but I bumped into the same issue yesterday and only solved it now. There are chances that you associated the .gsp file type with a program which cannot be opened by intellij in your case GOSU. To fix it go to: File>Settings>Editor>File Types
In the file types go to Gosu Program Source and *.gsp should be in the registered patterns. Remove it and apply changes then you are good to go.
Re-installing community version fixed and gsp files now open in the editor

Sample code for file-picker in Xamarin android

Can anyone show me how to implement a file-chooser/picker for Android using Mono?
Thanks in advance,
Tery
Would this sample work for you?
You can also use one of the Xamarin Plugin projects available as a NuGet package, if you want to support more platforms later. The currently most actively maintained package is this one:
https://github.com/jfversluis/FilePicker-Plugin-for-Xamarin-and-Windows
(note: I'm one of the contributors to the project).
Picking files is as easy as calling var result = await PickFile() and checking the result object. See also the sample code mentioned in the README.md of the Github project.

Drawable , Layouts, etc... in a DLL?

Is it possible in monodroid to have Drawables, Layouts, etc... (I mean resources) in a DLL? The problem is that I have created a project that generates a DLL but it doesn't build the project structure a regular android application project builds. Is there any possibility to accomplish this? Where should I move drawables, etc... in a dll?
This is not supported in the current version of Mono for Android. This post on the mailing list provides some more details about it. It's on the roadmap to get added in a future version, but I don't think they've given a timeline on it.

Resources