{"action":"created","issue":{"url":"https://api.github.com/repos/CoreCompat/CoreCompat/issues/12","repository_url":"https://api.github.com/repos/CoreCompat/CoreCompat","labels_url":"https://api.github.com/repos/CoreCompat/CoreCompat/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/CoreCompat/CoreCompat/issues/12/comments","events_url":"https://api.github.com/repos/CoreCompat/CoreCompat/issues/12/events","html_url":"https://github.com/CoreCompat/CoreCompat/issues/12","id":232111791,"number":12,"title":"Library names Conflict ","user":{"login":"VitoHanoi","id":16385289,"avatar_url":"https://avatars1.githubusercontent.com/u/16385289?v=3","gravatar_id":"","url":"https://api.github.com/users/VitoHanoi","html_url":"https://github.com/VitoHanoi","followers_url":"https://api.github.com/users/VitoHanoi/followers","following_url":"https://api.github.com/users/VitoHanoi/following{/other_user}","gists_url":"https://api.github.com/users/VitoHanoi/gists{/gist_id}","starred_url":"https://api.github.com/users/VitoHanoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VitoHanoi/subscriptions","organizations_url":"https://api.github.com/users/VitoHanoi/orgs","repos_url":"https://api.github.com/users/VitoHanoi/repos","events_url":"https://api.github.com/users/VitoHanoi/events{/privacy}","received_events_url":"https://api.github.com/users/VitoHanoi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-05-29T23:28:13Z","updated_at":"2017-05-30T20:24:59Z","closed_at":null,"body":"Hi everyone,\r\nI have a conflict with System.Drawing .NETStandard2.0 ! \r\nI got this error :\r\n\r\nError\tCS0433\tThe type 'Bitmap' exists in both 'CoreCompat.System.Drawing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n\r\nBeginners as I am, i didn't manage to solve it even with adding alias name because nugget package doesn't have the Alias properties. Any ideas? \r\n\r\nThanks a lot,\r\nVito"},"comment":{"url":"https://api.github.com/repos/CoreCompat/CoreCompat/issues/comments/304997402","html_url":"https://github.com/CoreCompat/CoreCompat/issues/12#issuecomment-304997402","issue_url":"https://api.github.com/repos/CoreCompat/CoreCompat/issues/12","id":304997402,"user":{"login":"qmfrederik","id":9918129,"avatar_url":"https://avatars3.githubusercontent.com/u/9918129?v=3","gravatar_id":"","url":"https://api.github.com/users/qmfrederik","html_url":"https://github.com/qmfrederik","followers_url":"https://api.github.com/users/qmfrederik/followers","following_url":"https://api.github.com/users/qmfrederik/following{/other_user}","gists_url":"https://api.github.com/users/qmfrederik/gists{/gist_id}","starred_url":"https://api.github.com/users/qmfrederik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qmfrederik/subscriptions","organizations_url":"https://api.github.com/users/qmfrederik/orgs","repos_url":"https://api.github.com/users/qmfrederik/repos","events_url":"https://api.github.com/users/qmfrederik/events{/privacy}","received_events_url":"https://api.github.com/users/qmfrederik/received_events","type":"User","site_admin":false},"created_at":"2017-05-30T20:24:59Z","updated_at":"2017-05-30T20:24:59Z","body":"Hi @VitoHanoi \r\n\r\nCan you please double check you are using `CoreCompat.System.Drawing.v2` and not `CoreCompat.System.Drawing` - note the v2 at the end?\r\n\r\nThe `.v2` package only includes the parts of `System.Drawing` which are not included in `netstandard2.0`,  so this should work just fine.\r\n\r\n`System.Drawing.Bitmap` is not part of `netstandard2.0`, and it looks like you're having a conflict on `net4x`.\r\n\r\nOn `net4x` you cannot reference both `CoreCompat.System.Drawing.v2` and `System.Drawing` at the same time because they provide the same functionality. You can either:\r\n- Remove the reference to `System.Drawing`\r\n- Add the reference to `CoreCompat.System.Drawing.v2` for `netstandard2.0` only. You can do that like this in your `.csproj` file:\r\n```\r\n<ItemGroup Condition=\"'$(TargetFramework)' == 'netstandard2.0'\">\r\n    <PackageReference Include=\"CoreCompat.System.Drawing.v2\" Version=\"5.2.0-preview1-r131\" />\r\n</ItemGroup>\r\n```\r\n\r\nHope it helps!"}}
{"actor":{"display_login":"qmfrederik"}}