{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-iot-sdk-csharp/issues/106","repository_url":"https://api.github.com/repos/Azure/azure-iot-sdk-csharp","labels_url":"https://api.github.com/repos/Azure/azure-iot-sdk-csharp/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-iot-sdk-csharp/issues/106/comments","events_url":"https://api.github.com/repos/Azure/azure-iot-sdk-csharp/issues/106/events","html_url":"https://github.com/Azure/azure-iot-sdk-csharp/issues/106","id":228469484,"number":106,"title":"Unable to install Microsoft.Azure.Devices in a Xamarin Forms android project","user":{"login":"albaek75","id":7264351,"avatar_url":"https://avatars3.githubusercontent.com/u/7264351?v=4","gravatar_id":"","url":"https://api.github.com/users/albaek75","html_url":"https://github.com/albaek75","followers_url":"https://api.github.com/users/albaek75/followers","following_url":"https://api.github.com/users/albaek75/following{/other_user}","gists_url":"https://api.github.com/users/albaek75/gists{/gist_id}","starred_url":"https://api.github.com/users/albaek75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albaek75/subscriptions","organizations_url":"https://api.github.com/users/albaek75/orgs","repos_url":"https://api.github.com/users/albaek75/repos","events_url":"https://api.github.com/users/albaek75/events{/privacy}","received_events_url":"https://api.github.com/users/albaek75/received_events","type":"User","site_admin":false},"labels":[{"id":461746546,"url":"https://api.github.com/repos/Azure/azure-iot-sdk-csharp/labels/bug","name":"bug","color":"1d76db","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-05-13T12:12:58Z","updated_at":"2018-02-26T21:13:43Z","closed_at":"2017-10-19T21:59:34Z","author_association":"NONE","body":"Hi\r\n\r\nI am getting this error when trying to install Microsoft.Azure.Devices to Xamarin Forms android project.\r\n\r\nError Could not install package 'Microsoft.Azure.Devices 1.2.4'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v7.1', 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.\r\n\r\nIs there any plans to add this support?"},"comment":{"url":"https://api.github.com/repos/Azure/azure-iot-sdk-csharp/issues/comments/368652502","html_url":"https://github.com/Azure/azure-iot-sdk-csharp/issues/106#issuecomment-368652502","issue_url":"https://api.github.com/repos/Azure/azure-iot-sdk-csharp/issues/106","id":368652502,"user":{"login":"CIPop","id":8635911,"avatar_url":"https://avatars2.githubusercontent.com/u/8635911?v=4","gravatar_id":"","url":"https://api.github.com/users/CIPop","html_url":"https://github.com/CIPop","followers_url":"https://api.github.com/users/CIPop/followers","following_url":"https://api.github.com/users/CIPop/following{/other_user}","gists_url":"https://api.github.com/users/CIPop/gists{/gist_id}","starred_url":"https://api.github.com/users/CIPop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CIPop/subscriptions","organizations_url":"https://api.github.com/users/CIPop/orgs","repos_url":"https://api.github.com/users/CIPop/repos","events_url":"https://api.github.com/users/CIPop/events{/privacy}","received_events_url":"https://api.github.com/users/CIPop/received_events","type":"User","site_admin":false},"created_at":"2018-02-26T21:13:43Z","updated_at":"2018-02-26T21:13:43Z","author_association":"CONTRIBUTOR","body":"@coltonf93 We're not supporting PCL at all in either LTS or master.\r\nThis issue was due to the fact that we were shipping a PCL target within the NuGet package. The last releases do not have such PCL target.\r\n\r\nAfter upgrading VS and Xamarin, you will need to also switch to the latest Xamarin.Forms template:\r\n![image](https://user-images.githubusercontent.com/8635911/36695471-4e79121c-1af6-11e8-9606-f5c5ccbd7c67.png)\r\n\r\nSelect the \".NET Standard\" Code Sharing Strategy:\r\n![image](https://user-images.githubusercontent.com/8635911/36695503-5fa304f8-1af6-11e8-9ceb-42319350f08e.png)\r\n\r\nReference the latest non-preview [Azure SDK DeviceClient](https://www.nuget.org/packages/Microsoft.Azure.Devices.Client/1.6.2) within the shared project.\r\nYou should not use any of the workarounds presented here as they are not applicable to the new SDK versions.\r\n\r\nA Debug build should work for Android.\r\nRelease builds for Android are still blocked by multiple issues within the Xamarin platform. Please use https://github.com/azure/azure-iot-sdk-csharp/projects/1 to track these issues.\r\n\r\nIf this doesn't work, please create a new issue with the details."}}
{"actor":{"display_login":"CIPop"}}