{"action":"closed","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/1715","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/1715/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/1715/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/1715/events","html_url":"https://github.com/dotnet/cli/issues/1715","id":138621953,"number":1715,"title":"dotnet pack - IndexOutOfRangeException","user":{"login":"moozzyk","id":1438884,"avatar_url":"https://avatars.githubusercontent.com/u/1438884?v=3","gravatar_id":"","url":"https://api.github.com/users/moozzyk","html_url":"https://github.com/moozzyk","followers_url":"https://api.github.com/users/moozzyk/followers","following_url":"https://api.github.com/users/moozzyk/following{/other_user}","gists_url":"https://api.github.com/users/moozzyk/gists{/gist_id}","starred_url":"https://api.github.com/users/moozzyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moozzyk/subscriptions","organizations_url":"https://api.github.com/users/moozzyk/orgs","repos_url":"https://api.github.com/users/moozzyk/repos","events_url":"https://api.github.com/users/moozzyk/events{/privacy}","received_events_url":"https://api.github.com/users/moozzyk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-03-05T00:02:00Z","updated_at":"2016-11-10T01:30:07Z","closed_at":"2016-11-10T01:30:07Z","body":"Following #1714  I added some frameworks to my project.json file (even though it does not make sense since I only have native code so frameworks element does not apply at all). My project.json looks now like this:\n\n```\n{\n  \"version\": \"0.1.0-*\",\n  \"description\": \"libuv build package - Windows\",\n  \"author\": \"Microsoft\",\n\n   \"dependencies\": {},\n  \"frameworks\": {\n    \"net451\": {},\n    \"netstandard1.3\": {\n      \"dependencies\": {},\n      \"imports\": [\n        \"dotnet5.4\"\n      ]\n    }\n    },\n\n  \"packInclude\": {\n    \"runtimes/win7-x86/native\": \"bin/Win32/libuv.dll\",\n    \"runtimes/win7-x64/native\": \"bin/x64/libuv.dll\",\n    \"runtimes/win7-arm/native\": \"bin/ARM/libuv.dll\"\n  }\n}\n```\n\nThis fails with:\n\n```\n> dotnet pack --no-build\nProducing nuget package \"Microsoft.AspNetCore.Internal.libuv.Windows.0.1.0\" for Microsoft.AspNetCore.Internal.libuv.Windows\nIndex was out of range. Must be non-negative and less than the size of the collection.\nParameter name: index\n```\n"}}
{"actor":{"display_login":"piotrpMSFT"}}