{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/19420","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/19420/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/19420/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/19420/events","html_url":"https://github.com/dotnet/corefx/issues/19420","id":226715328,"number":19420,"title":"System.Security.Cryptography.Xml conflicts System.Security when building for .NET Framework","user":{"login":"natemcmaster","id":2696087,"avatar_url":"https://avatars3.githubusercontent.com/u/2696087?v=3","gravatar_id":"","url":"https://api.github.com/users/natemcmaster","html_url":"https://github.com/natemcmaster","followers_url":"https://api.github.com/users/natemcmaster/followers","following_url":"https://api.github.com/users/natemcmaster/following{/other_user}","gists_url":"https://api.github.com/users/natemcmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/natemcmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natemcmaster/subscriptions","organizations_url":"https://api.github.com/users/natemcmaster/orgs","repos_url":"https://api.github.com/users/natemcmaster/repos","events_url":"https://api.github.com/users/natemcmaster/events{/privacy}","received_events_url":"https://api.github.com/users/natemcmaster/received_events","type":"User","site_admin":false},"labels":[{"id":145399955,"url":"https://api.github.com/repos/dotnet/corefx/labels/bug","name":"bug","color":"207de5","default":true},{"id":554583005,"url":"https://api.github.com/repos/dotnet/corefx/labels/System.Security.Cryptography.Xml","name":"System.Security.Cryptography.Xml","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotnet/corefx/milestones/4","html_url":"https://github.com/dotnet/corefx/milestone/4","labels_url":"https://api.github.com/repos/dotnet/corefx/milestones/4/labels","id":1248719,"number":4,"title":"2.0.0","description":".NET Core 2.0, next major release. The due date 5/10 is [ZBB](https://github.com/dotnet/corefx/issues/17619) and expected time of last FI from master into release branch. See [official release dates](https://github.com/dotnet/core/blob/master/roadmap.md) for details.","creator":{"login":"joshfree","id":1302850,"avatar_url":"https://avatars2.githubusercontent.com/u/1302850?v=3","gravatar_id":"","url":"https://api.github.com/users/joshfree","html_url":"https://github.com/joshfree","followers_url":"https://api.github.com/users/joshfree/followers","following_url":"https://api.github.com/users/joshfree/following{/other_user}","gists_url":"https://api.github.com/users/joshfree/gists{/gist_id}","starred_url":"https://api.github.com/users/joshfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshfree/subscriptions","organizations_url":"https://api.github.com/users/joshfree/orgs","repos_url":"https://api.github.com/users/joshfree/repos","events_url":"https://api.github.com/users/joshfree/events{/privacy}","received_events_url":"https://api.github.com/users/joshfree/received_events","type":"User","site_admin":false},"open_issues":80,"closed_issues":7722,"state":"open","created_at":"2015-08-10T18:04:00Z","updated_at":"2017-05-05T23:28:09Z","due_on":"2017-05-10T07:00:00Z","closed_at":null},"comments":1,"created_at":"2017-05-05T23:23:18Z","updated_at":"2017-05-05T23:33:11Z","closed_at":null,"body":"The latest System.Security.Cryptography.Xml package causes compiler errors for .NET Framework projects.\r\n\r\n> error CS0433: The type 'EncryptedXml' exists in both 'System.Security.Cryptography.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' and 'System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'\r\n\r\n### Repro\r\nCreate a .NET Framework 4.6.1 project that references a .NET Standard 2.0 project.\r\n\r\nExample: TestApp --> TestLib\r\n#### TestApp\r\n```xml\r\n<Project Sdk=\"Microsoft.NET.Sdk\">\r\n  <ItemGroup>\r\n    <ProjectReference Include=\"..\\TestLib\\TestLib.csproj\" />\r\n  </ItemGroup>\r\n  <PropertyGroup>\r\n    <OutputType>Exe</OutputType>\r\n    <TargetFramework>net461</TargetFramework>\r\n  </PropertyGroup>\r\n</Project>\r\n```\r\n```c#\r\nusing System;\r\nusing System.Security.Cryptography.Xml;\r\n\r\nnamespace TestApp\r\n{\r\n    class Program\r\n    {\r\n        static void Main(string[] args)\r\n        {\r\n            Console.WriteLine(typeof(EncryptedXml).AssemblyQualifiedName);\r\n        }\r\n    }\r\n}\r\n```\r\n\r\n#### TestLib\r\n```xml\r\n<Project Sdk=\"Microsoft.NET.Sdk\">\r\n  <PropertyGroup>\r\n    <TargetFramework>netstandard2.0</TargetFramework>\r\n    <DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>\r\n  </PropertyGroup>\r\n\r\n  <ItemGroup>\r\n    <PackageReference Include=\"NETStandard.Library\" Version=\"2.0.0-preview2-25304-01\" />\r\n    <PackageReference Include=\"System.Security.Cryptography.Xml\" Version=\"4.4.0-preview2-25305-01\" />\r\n  </ItemGroup>\r\n</Project>\r\n```\r\n\r\n#### Details\r\n\r\nUsing dotnet-CLI 2.0.0-preview2-005905\r\n\r\n[msbuild.log.txt](https://github.com/dotnet/corefx/files/980530/msbuild.log.txt)\r\n\r\ncc @krwq \r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/299598257","html_url":"https://github.com/dotnet/corefx/issues/19420#issuecomment-299598257","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/19420","id":299598257,"user":{"login":"krwq","id":660048,"avatar_url":"https://avatars2.githubusercontent.com/u/660048?v=3","gravatar_id":"","url":"https://api.github.com/users/krwq","html_url":"https://github.com/krwq","followers_url":"https://api.github.com/users/krwq/followers","following_url":"https://api.github.com/users/krwq/following{/other_user}","gists_url":"https://api.github.com/users/krwq/gists{/gist_id}","starred_url":"https://api.github.com/users/krwq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krwq/subscriptions","organizations_url":"https://api.github.com/users/krwq/orgs","repos_url":"https://api.github.com/users/krwq/repos","events_url":"https://api.github.com/users/krwq/events{/privacy}","received_events_url":"https://api.github.com/users/krwq/received_events","type":"User","site_admin":false},"created_at":"2017-05-05T23:33:11Z","updated_at":"2017-05-05T23:33:11Z","body":"Ahh I think I know - ref is missing `<IsPartialFacadeAssembly Condition=\"'$(TargetGroup)' == 'netfx'\">true</IsPartialFacadeAssembly>`"}}
{"actor":{"display_login":"krwq"}}