{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/4457","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/4457/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/4457/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/4457/events","html_url":"https://github.com/dotnet/cli/issues/4457","id":184272217,"number":4457,"title":"dotnet migrate puts generic project references under TFM conditions","user":{"login":"joelverhagen","id":94054,"avatar_url":"https://avatars.githubusercontent.com/u/94054?v=3","gravatar_id":"","url":"https://api.github.com/users/joelverhagen","html_url":"https://github.com/joelverhagen","followers_url":"https://api.github.com/users/joelverhagen/followers","following_url":"https://api.github.com/users/joelverhagen/following{/other_user}","gists_url":"https://api.github.com/users/joelverhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/joelverhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelverhagen/subscriptions","organizations_url":"https://api.github.com/users/joelverhagen/orgs","repos_url":"https://api.github.com/users/joelverhagen/repos","events_url":"https://api.github.com/users/joelverhagen/events{/privacy}","received_events_url":"https://api.github.com/users/joelverhagen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-20T16:04:55Z","updated_at":"2016-10-20T16:04:55Z","closed_at":null,"body":"## Steps to reproduce\r\n\r\n1. Create two project.json projects, one referencing the other. Put the reference under the generic `\"dependencies\"` section, not under the `\"frameworks\"` node.\r\n1. Target two or more frameworks in the projects.\r\n1. `dotnet migrate`\r\n1. Inspect the output .csproj that has the project references.\r\n\r\nRepro project: [duplicateprojref.zip](https://github.com/dotnet/cli/files/542187/duplicateprojref.zip)\r\n\r\n## Expected  behavior\r\n\r\nThe `<ProjectReference>` element should not be under a framework condition and should only appear once in the .csproj.\r\n\r\n## Actual behavior\r\n\r\nThe `<ProjectReference>` is duplicated under each framework condition.\r\n\r\n## Environment data\r\n`dotnet --info` output:\r\n\r\n```\r\n.NET Command Line Tools (1.0.0-preview3-003886)\r\n\r\nProduct Information:\r\n Version:            1.0.0-preview3-003886\r\n Commit SHA-1 hash:  4b0c2f5ebe\r\n\r\nRuntime Environment:\r\n OS Name:     Windows\r\n OS Version:  10.0.14393\r\n OS Platform: Windows\r\n RID:         win10-x64\r\n```\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"joelverhagen"}}