{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/3184","repository_url":"https://api.github.com/repos/NuGet/Home","labels_url":"https://api.github.com/repos/NuGet/Home/issues/3184/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/3184/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/3184/events","html_url":"https://github.com/NuGet/Home/issues/3184","id":166788686,"number":3184,"title":"NugetPack .csproj + project.json: simple mappings not working","user":{"login":"BladeWise","id":127625,"avatar_url":"https://avatars.githubusercontent.com/u/127625?v=3","gravatar_id":"","url":"https://api.github.com/users/BladeWise","html_url":"https://github.com/BladeWise","followers_url":"https://api.github.com/users/BladeWise/followers","following_url":"https://api.github.com/users/BladeWise/following{/other_user}","gists_url":"https://api.github.com/users/BladeWise/gists{/gist_id}","starred_url":"https://api.github.com/users/BladeWise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BladeWise/subscriptions","organizations_url":"https://api.github.com/users/BladeWise/orgs","repos_url":"https://api.github.com/users/BladeWise/repos","events_url":"https://api.github.com/users/BladeWise/events{/privacy}","received_events_url":"https://api.github.com/users/BladeWise/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-21T10:36:42Z","updated_at":"2016-07-21T12:09:18Z","closed_at":null,"body":"As was discussed in [this comment](https://github.com/NuGet/Home/issues/3145#issuecomment-233994663), defining a project.json with this simple mapping\r\n```json\r\n\"packOptions\": {\r\n    \"files\": {\r\n      \"mappings\": {\r\n        \"mylib\": {\r\n          \"include\": [\r\n            \"bin/Debug/*.dll\"\r\n          ]\r\n        }\r\n      }\r\n    }\r\n  }\r\n```\r\ndoes not work, since it does not create the mylib folder, and no dll file is included.\r\nTo achieve the expected behavior a small trick can be used:\r\n```json\r\n\"packOptions\": {\r\n    \"files\": {\r\n      \"mappings\": {\r\n        \"mylib\": {\r\n          \"include\": [\r\n            \"bin/Debug/*.dll\"\r\n          ]\r\n        }\r\n      }\r\n    }\r\n  }\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/NuGet/Home/issues/comments/234235001","html_url":"https://github.com/NuGet/Home/issues/3184#issuecomment-234235001","issue_url":"https://api.github.com/repos/NuGet/Home/issues/3184","id":234235001,"user":{"login":"MistyKuu","id":10333668,"avatar_url":"https://avatars.githubusercontent.com/u/10333668?v=3","gravatar_id":"","url":"https://api.github.com/users/MistyKuu","html_url":"https://github.com/MistyKuu","followers_url":"https://api.github.com/users/MistyKuu/followers","following_url":"https://api.github.com/users/MistyKuu/following{/other_user}","gists_url":"https://api.github.com/users/MistyKuu/gists{/gist_id}","starred_url":"https://api.github.com/users/MistyKuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MistyKuu/subscriptions","organizations_url":"https://api.github.com/users/MistyKuu/orgs","repos_url":"https://api.github.com/users/MistyKuu/repos","events_url":"https://api.github.com/users/MistyKuu/events{/privacy}","received_events_url":"https://api.github.com/users/MistyKuu/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T12:09:18Z","updated_at":"2016-07-21T12:09:18Z","body":"@BladeWise  the version you provided are identical. Please edit your post to have this: \"bin/Debug*/*.dll\""}}
{"actor":{"display_login":"MistyKuu"}}