{"action":"opened","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/3268","repository_url":"https://api.github.com/repos/NuGet/Home","labels_url":"https://api.github.com/repos/NuGet/Home/issues/3268/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/3268/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/3268/events","html_url":"https://github.com/NuGet/Home/issues/3268","id":168939322,"number":3268,"title":"Add Profile151 to the _profilesWithOptionalFrameworks","user":{"login":"JonDouglas","id":1288848,"avatar_url":"https://avatars.githubusercontent.com/u/1288848?v=3","gravatar_id":"","url":"https://api.github.com/users/JonDouglas","html_url":"https://github.com/JonDouglas","followers_url":"https://api.github.com/users/JonDouglas/followers","following_url":"https://api.github.com/users/JonDouglas/following{/other_user}","gists_url":"https://api.github.com/users/JonDouglas/gists{/gist_id}","starred_url":"https://api.github.com/users/JonDouglas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonDouglas/subscriptions","organizations_url":"https://api.github.com/users/JonDouglas/orgs","repos_url":"https://api.github.com/users/JonDouglas/repos","events_url":"https://api.github.com/users/JonDouglas/events{/privacy}","received_events_url":"https://api.github.com/users/JonDouglas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-02T17:13:31Z","updated_at":"2016-08-02T17:13:31Z","closed_at":null,"body":"It looks like there are some optional profiles potentially missing that support `monotouch1+monoandroid1` and `xamarin.ios1` \r\n\r\nhttps://github.com/NuGet/NuGet.Client/blob/dev/src/NuGet.Core/NuGet.Frameworks/DefaultPortableFrameworkMappings.cs#L110-L113\r\n\r\n**Given a use-case:**\r\nAttempting to add the following package to a blank Xamarin.iOS project:\r\n\r\nhttps://www.nuget.org/packages/velox.core/\r\n\r\nThis package targets **Profile 151 (v4.6)** - `portable-net451-win81-wpa81`\r\n\r\nThis works in **XS 6.0** and **XS 6.1** because it is marked compatible in **Mono** via the `Xamarin.iOS.xml` file in `/Library/Frameworks/Mono.framework/Versions/4.4.2/lib/mono/xbuild-frameworks/.NETPortable/v4.6/Profile/Profile151/SupportedFrameworks`\r\n\r\nHowever this will fail in **VS 2015** because the profile is not included in the `_profilesWithOptionalFrameworks` list above. Thus throwing an error such as:\r\n\r\n`Could not install package 'velox.core 1.0.2.8'. You are trying to install this package into a project that targets 'Xamarin.iOS,Version=v1.0', 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\nPlease let me know if this is the correct behavior, or if this bug is valid in this use case.\r\n\r\n**Version Information:**\r\nVisual Studio Professional 2015 - Update 3 (Version 14.0.25421.03)\r\n\r\nNuGet Package Manager 3.5.0\r\n\r\nXamarin 4.1.2.18\r\n\r\nXamarin.iOS 9.8.2.22\r\n"}}
{"actor":{"display_login":"JonDouglas"}}