{"action":"closed","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/6122","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/6122/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/6122/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/6122/events","html_url":"https://github.com/dotnet/corefx/issues/6122","id":133785583,"number":6122,"title":"Cannot locate reference to type IPAddress","user":{"login":"lukasz-pyrzyk","id":5083018,"avatar_url":"https://avatars.githubusercontent.com/u/5083018?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasz-pyrzyk","html_url":"https://github.com/lukasz-pyrzyk","followers_url":"https://api.github.com/users/lukasz-pyrzyk/followers","following_url":"https://api.github.com/users/lukasz-pyrzyk/following{/other_user}","gists_url":"https://api.github.com/users/lukasz-pyrzyk/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasz-pyrzyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasz-pyrzyk/subscriptions","organizations_url":"https://api.github.com/users/lukasz-pyrzyk/orgs","repos_url":"https://api.github.com/users/lukasz-pyrzyk/repos","events_url":"https://api.github.com/users/lukasz-pyrzyk/events{/privacy}","received_events_url":"https://api.github.com/users/lukasz-pyrzyk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/corefx/labels/no%20repro","name":"no repro","color":"f7c6c7"},{"url":"https://api.github.com/repos/dotnet/corefx/labels/System.Net","name":"System.Net","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":{"login":"davidsh","id":7684835,"avatar_url":"https://avatars.githubusercontent.com/u/7684835?v=3","gravatar_id":"","url":"https://api.github.com/users/davidsh","html_url":"https://github.com/davidsh","followers_url":"https://api.github.com/users/davidsh/followers","following_url":"https://api.github.com/users/davidsh/following{/other_user}","gists_url":"https://api.github.com/users/davidsh/gists{/gist_id}","starred_url":"https://api.github.com/users/davidsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidsh/subscriptions","organizations_url":"https://api.github.com/users/davidsh/orgs","repos_url":"https://api.github.com/users/davidsh/repos","events_url":"https://api.github.com/users/davidsh/events{/privacy}","received_events_url":"https://api.github.com/users/davidsh/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/corefx/milestones/4","html_url":"https://github.com/dotnet/corefx/milestones/1.0.0-rtm","labels_url":"https://api.github.com/repos/dotnet/corefx/milestones/4/labels","id":1248719,"number":4,"title":"1.0.0-rtm","description":"Q1 2016 (https://github.com/aspnet/Home/wiki/Roadmap)","creator":{"login":"joshfree","id":1302850,"avatar_url":"https://avatars.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":269,"closed_issues":292,"state":"open","created_at":"2015-08-10T18:04:00Z","updated_at":"2016-02-22T23:41:45Z","due_on":"2016-03-31T07:00:00Z","closed_at":null},"comments":4,"created_at":"2016-02-15T18:24:58Z","updated_at":"2016-02-22T23:41:45Z","closed_at":"2016-02-22T23:41:45Z","body":"Hello,\r\n\r\nI've published a .NET Core library to nuget. Here is the project.json of this package:\r\n\r\n```\r\n\"frameworks\": {\r\n        \"dnx451\": {\r\n            \"frameworkAssemblies\": {\r\n                \"System\": \"\",\r\n                \"System.Net\": \"\"\r\n            }\r\n        },\r\n        \"dnxcore50\": {\r\n            \"dependencies\": {\r\n                \"System.Console\": \"4.0.0-beta-23516\",\r\n                \"System.Collections\": \"4.0.11-beta-23516\",\r\n                \"System.Linq\": \"4.0.1-beta-23516\",\r\n                \"System.Net.Sockets\": \"4.1.0-beta-23516\",\r\n                \"System.Runtime\": \"4.0.21-beta-23516\",\r\n                \"System.Threading\": \"4.0.11-beta-23516\"\r\n            }\r\n        }\r\n```\r\n\r\nI've installed this package from nuget to the DNX451 console app and restored nuget packages.\r\nUnfortunately I have a problem with compiling.\r\n\r\n> Reference to type 'IPAddress' claims it is defined in 'System.Net.Primitives', but it could not be found\tConsoleNet451Sample`\r\n\r\nWhat is wrong? In my .NET Core project i have no references to System.Net.Primitives"}}