Я разрабатываю в Xamarin PCL проектную кросс-платформу, которую я тестирую на IOS и Android с Visual studio 2015 V4.6. Мне нужно включить System.ServiceModel. В моем переносном классе используется WCF Services. Я не могу включить его с пакетами Nuget.XAMARIN PCL consumming WCF
Could not install package 'System.ServiceModel.Primitives 4.3.0'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile259', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
Я попытался включить непосредственно Right Clic на ссылках ->path -> system.serviceModel [4.0.0.0], а затем добавить * У меня есть сообщение об ошибке
' Severity Code Description Project File Line Suppression State
Error Can not resolve reference: /Users/ludovic/Library/Caches/Xamarin/mtbs/builds/DemoHandyLife.iOS/725fe7b4d3cb829a82e1002d425b8f86/bin/iPhoneSimulator/Debug/System.EnterpriseServices.Wrapper.dll DemoHandyLife.iOS C:\Program Files\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets 696'
Если бы я добавить System.ServiceModel [5.0.0.0] у меня есть эти сообщения об ошибке
Error CS0012 The type 'CookieContainer' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Net, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.
Error CS0012 The type 'CookieContainer' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Net, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.
Я пытался добавить system.net Version = 5.0 .5.0 автоматически, но ничего не происходит. Может кто-нибудь мне помочь? Заранее спасибо
Сообщите мне, если вам нужно больше деталей. Заранее благодарим за помощь.