{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/dnx/issues/848","labels_url":"https://api.github.com/repos/aspnet/dnx/issues/848/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/dnx/issues/848/comments","events_url":"https://api.github.com/repos/aspnet/dnx/issues/848/events","html_url":"https://github.com/aspnet/dnx/issues/848","id":47621382,"number":848,"title":"Allow additional files in the nupkg","user":{"login":"bricelam","id":1226749,"avatar_url":"https://avatars.githubusercontent.com/u/1226749?v=3","gravatar_id":"","url":"https://api.github.com/users/bricelam","html_url":"https://github.com/bricelam","followers_url":"https://api.github.com/users/bricelam/followers","following_url":"https://api.github.com/users/bricelam/following{/other_user}","gists_url":"https://api.github.com/users/bricelam/gists{/gist_id}","starred_url":"https://api.github.com/users/bricelam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bricelam/subscriptions","organizations_url":"https://api.github.com/users/bricelam/orgs","repos_url":"https://api.github.com/users/bricelam/repos","events_url":"https://api.github.com/users/bricelam/events{/privacy}","received_events_url":"https://api.github.com/users/bricelam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/dnx/labels/design:inprogress","name":"design:inprogress","color":"006b75"},{"url":"https://api.github.com/repos/aspnet/dnx/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/aspnet/dnx/labels/needs%20design","name":"needs design","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"anurse","id":7574,"avatar_url":"https://avatars.githubusercontent.com/u/7574?v=3","gravatar_id":"","url":"https://api.github.com/users/anurse","html_url":"https://github.com/anurse","followers_url":"https://api.github.com/users/anurse/followers","following_url":"https://api.github.com/users/anurse/following{/other_user}","gists_url":"https://api.github.com/users/anurse/gists{/gist_id}","starred_url":"https://api.github.com/users/anurse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anurse/subscriptions","organizations_url":"https://api.github.com/users/anurse/orgs","repos_url":"https://api.github.com/users/anurse/repos","events_url":"https://api.github.com/users/anurse/events{/privacy}","received_events_url":"https://api.github.com/users/anurse/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/aspnet/dnx/milestones/14","html_url":"https://github.com/aspnet/dnx/milestones/1.0.0-beta7","labels_url":"https://api.github.com/repos/aspnet/dnx/milestones/14/labels","id":1169268,"number":14,"title":"1.0.0-beta7","description":null,"creator":{"login":"muratg","id":1808428,"avatar_url":"https://avatars.githubusercontent.com/u/1808428?v=3","gravatar_id":"","url":"https://api.github.com/users/muratg","html_url":"https://github.com/muratg","followers_url":"https://api.github.com/users/muratg/followers","following_url":"https://api.github.com/users/muratg/following{/other_user}","gists_url":"https://api.github.com/users/muratg/gists{/gist_id}","starred_url":"https://api.github.com/users/muratg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muratg/subscriptions","organizations_url":"https://api.github.com/users/muratg/orgs","repos_url":"https://api.github.com/users/muratg/repos","events_url":"https://api.github.com/users/muratg/events{/privacy}","received_events_url":"https://api.github.com/users/muratg/received_events","type":"User","site_admin":false},"open_issues":51,"closed_issues":7,"state":"open","created_at":"2015-06-17T20:42:25Z","updated_at":"2015-07-20T21:07:18Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2014-11-03T17:35:44Z","updated_at":"2015-07-20T23:16:23Z","closed_at":null,"body":"Similar to a nuspec file, project.json should allow you to specify additional files to include in the nupkg. I imagine a format like the following.\r\n```JSON\r\n{\r\n    \"files\": {\r\n        \"tools/EntityFramework.psd1\": \"tools/\",\r\n        \"tools/EntityFramework.psm1\": \"tools/\",\r\n        \"tools/init.ps1\": \"tools/\"\r\n    }\r\n}\r\n```\r\nWe currently do this post-build on the following packages.\r\n* EntityFramework.Commands\r\n* Microsoft.Data.SQLite\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/dnx/issues/comments/123085848","html_url":"https://github.com/aspnet/dnx/issues/848#issuecomment-123085848","issue_url":"https://api.github.com/repos/aspnet/dnx/issues/848","id":123085848,"user":{"login":"anurse","id":7574,"avatar_url":"https://avatars.githubusercontent.com/u/7574?v=3","gravatar_id":"","url":"https://api.github.com/users/anurse","html_url":"https://github.com/anurse","followers_url":"https://api.github.com/users/anurse/followers","following_url":"https://api.github.com/users/anurse/following{/other_user}","gists_url":"https://api.github.com/users/anurse/gists{/gist_id}","starred_url":"https://api.github.com/users/anurse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anurse/subscriptions","organizations_url":"https://api.github.com/users/anurse/orgs","repos_url":"https://api.github.com/users/anurse/repos","events_url":"https://api.github.com/users/anurse/events{/privacy}","received_events_url":"https://api.github.com/users/anurse/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T23:16:23Z","updated_at":"2015-07-20T23:16:23Z","body":"Initial design notes. We're going to iterate on it tomorrow. /cc @davidfowl \r\n\r\n```json\r\n{\r\n    \"packageFiles\": {\r\n        \"dest\": \"src\"\r\n    }\r\n}\r\n````\r\n\r\nI think that the \"source\" file specifier needs to be able to be an array. Basically, if the thing on the right ends up evaluating to multiple file names, the thing on the left is a folder. Otherwise, the thing on the left is a file and must have the full name of the file. Because the body of this property is a JSON dictionary, we are restricted to only having one entry per destination.\r\n\r\n```json\r\n{\r\n    \"packageFiles\": {\r\n        \"test\": [\"a.txt\", \"b.txt\"],\r\n        \"README.md\": \"docs/README.md\"\r\n    }\r\n}\r\n```"}}