{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/sdk/issues/495","repository_url":"https://api.github.com/repos/dotnet/sdk","labels_url":"https://api.github.com/repos/dotnet/sdk/issues/495/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/sdk/issues/495/comments","events_url":"https://api.github.com/repos/dotnet/sdk/issues/495/events","html_url":"https://github.com/dotnet/sdk/issues/495","id":195657404,"number":495,"title":"PackageReference to contentFiles pkg breaks compilation of 'net45x' tfms","user":{"login":"natemcmaster","id":2696087,"avatar_url":"https://avatars.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":412731487,"url":"https://api.github.com/repos/dotnet/sdk/labels/Bug","name":"Bug","color":"ee0701","default":false}],"state":"open","locked":false,"assignee":{"login":"natidea","id":7732033,"avatar_url":"https://avatars.githubusercontent.com/u/7732033?v=3","gravatar_id":"","url":"https://api.github.com/users/natidea","html_url":"https://github.com/natidea","followers_url":"https://api.github.com/users/natidea/followers","following_url":"https://api.github.com/users/natidea/following{/other_user}","gists_url":"https://api.github.com/users/natidea/gists{/gist_id}","starred_url":"https://api.github.com/users/natidea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natidea/subscriptions","organizations_url":"https://api.github.com/users/natidea/orgs","repos_url":"https://api.github.com/users/natidea/repos","events_url":"https://api.github.com/users/natidea/events{/privacy}","received_events_url":"https://api.github.com/users/natidea/received_events","type":"User","site_admin":false},"assignees":[{"login":"natidea","id":7732033,"avatar_url":"https://avatars.githubusercontent.com/u/7732033?v=3","gravatar_id":"","url":"https://api.github.com/users/natidea","html_url":"https://github.com/natidea","followers_url":"https://api.github.com/users/natidea/followers","following_url":"https://api.github.com/users/natidea/following{/other_user}","gists_url":"https://api.github.com/users/natidea/gists{/gist_id}","starred_url":"https://api.github.com/users/natidea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natidea/subscriptions","organizations_url":"https://api.github.com/users/natidea/orgs","repos_url":"https://api.github.com/users/natidea/repos","events_url":"https://api.github.com/users/natidea/events{/privacy}","received_events_url":"https://api.github.com/users/natidea/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dotnet/sdk/milestones/5","html_url":"https://github.com/dotnet/sdk/milestone/5","labels_url":"https://api.github.com/repos/dotnet/sdk/milestones/5/labels","id":2149798,"number":5,"title":"1.0 RC3","description":"","creator":{"login":"srivatsn","id":20570,"avatar_url":"https://avatars.githubusercontent.com/u/20570?v=3","gravatar_id":"","url":"https://api.github.com/users/srivatsn","html_url":"https://github.com/srivatsn","followers_url":"https://api.github.com/users/srivatsn/followers","following_url":"https://api.github.com/users/srivatsn/following{/other_user}","gists_url":"https://api.github.com/users/srivatsn/gists{/gist_id}","starred_url":"https://api.github.com/users/srivatsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srivatsn/subscriptions","organizations_url":"https://api.github.com/users/srivatsn/orgs","repos_url":"https://api.github.com/users/srivatsn/repos","events_url":"https://api.github.com/users/srivatsn/events{/privacy}","received_events_url":"https://api.github.com/users/srivatsn/received_events","type":"User","site_admin":false},"open_issues":53,"closed_issues":17,"state":"open","created_at":"2016-11-21T20:05:20Z","updated_at":"2016-12-22T02:43:50Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-12-14T21:58:09Z","updated_at":"2016-12-22T14:40:09Z","closed_at":null,"body":"Microsoft.CSharp.Core.targets is picking up a file the contentFiles section of a nuget package and causing the build to fail with this error.\r\n\r\n> C:\\Program Files\\dotnet\\sdk\\1.0.0-preview4-004233\\Microsoft.CSharp.Core.targets(71,5): error MSB3105: The item \"obj\\Debug\\net45\\NuGet\\B61134ECB5E801948C09D13980B4CFE1141BB877\\Microsoft.Extensions.HashCodeCombiner.Sources\\1.2.0-preview1-22911\" was specified more than once in the \"Sources\" parameter.  Duplicate items are not supported by the \"Sources\" parameter. [C:\\dev\\Universe\\FileSystem\\src\\Microsoft.Extensions.FileSystemGlobbing\\Microsoft.Extensions.FileSystemGlobbing.csproj]\r\n\r\n**Repro:**\r\nUse this feed to get the NuGet package in question: https://dotnet.myget.org/F/aspnetcore-ci-dev/api/v3/index.json\r\n\r\n```xml\r\n<Project Sdk=\"Microsoft.NET.Sdk\" ToolsVersion=\"15.0\">\r\n\r\n  <PropertyGroup>\r\n    <TargetFrameworks>net45;netstandard1.3</TargetFrameworks>\r\n  </PropertyGroup>\r\n\r\n  <ItemGroup>\r\n    <Compile Include=\"**\\*.cs\" />\r\n    <EmbeddedResource Include=\"**\\*.resx\" />\r\n  </ItemGroup>\r\n\r\n  <ItemGroup>\r\n    <PackageReference Include=\"Microsoft.Extensions.HashCodeCombiner.Sources\" Version=\"1.2.0-preview1-22911\" PrivateAssets=\"All\" />\r\n    <PackageReference Include=\"NETStandard.Library\" Version=\"1.6.1\" />\r\n  </ItemGroup>\r\n\r\n  <ItemGroup Condition=\" '$(TargetFramework)' == 'net45' \">\r\n    <Reference Include=\"System\" />\r\n    <Reference Include=\"Microsoft.CSharp\" />\r\n  </ItemGroup>\r\n\r\n</Project>\r\n```\r\n\r\nI'm using 1.0.0-preview4-004233.\r\n\r\nPossibly related to https://github.com/NuGet/Home/issues/3683"},"comment":{"url":"https://api.github.com/repos/dotnet/sdk/issues/comments/268812631","html_url":"https://github.com/dotnet/sdk/issues/495#issuecomment-268812631","issue_url":"https://api.github.com/repos/dotnet/sdk/issues/495","id":268812631,"user":{"login":"onovotny","id":1427284,"avatar_url":"https://avatars.githubusercontent.com/u/1427284?v=3","gravatar_id":"","url":"https://api.github.com/users/onovotny","html_url":"https://github.com/onovotny","followers_url":"https://api.github.com/users/onovotny/followers","following_url":"https://api.github.com/users/onovotny/following{/other_user}","gists_url":"https://api.github.com/users/onovotny/gists{/gist_id}","starred_url":"https://api.github.com/users/onovotny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onovotny/subscriptions","organizations_url":"https://api.github.com/users/onovotny/orgs","repos_url":"https://api.github.com/users/onovotny/repos","events_url":"https://api.github.com/users/onovotny/events{/privacy}","received_events_url":"https://api.github.com/users/onovotny/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T14:40:09Z","updated_at":"2016-12-22T14:40:09Z","body":"Not sure if this is related, but `contentFiles` in source-only packages aren't working for me at all right now in RC2. I filed a bug here https://github.com/NuGet/Home/issues/4143"}}
{"actor":{"display_login":"onovotny"}}