Проект переносимой библиотеки классов Xamarin.Forms с библиотекой Sharp.XMPP
В моем проекте произошла конкретная проблема. Я нашел только одну библиотеку для C #, поддерживающую Android (на Xamarin):Sharp.XMPP, NuGetНо у меня проблемы с этим. Когда я пишу пример кода в отдельной переносимой библиотеке классов, я получаю следующие ошибки:
Error 1: '.ctor' is not supported by the language
по линии
using (XmppClient client = new XmppClient(hostname, username, password))
{
...
}
Следующий:
Error 2: Metadata file '...\Project.Jabber.dll' could not be found
Warnings 2-6: Reference to type 'System.Net.Security.RemoteCertificateValidationCallback' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.5\Profile\Profile78\System.dll', but it could not be found c:\Users\Kliford\Downloads\S22.Xmpp\S22.Xmpp.dll
Я невежественен. Заранее спасибо.