{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/2075","repository_url":"https://api.github.com/repos/NuGet/Home","labels_url":"https://api.github.com/repos/NuGet/Home/issues/2075/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/2075/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/2075/events","html_url":"https://github.com/NuGet/Home/issues/2075","id":132153145,"number":2075,"title":"<contentFiles> doesn't work for standard .csproj project","user":{"login":"frogger3d","id":1745610,"avatar_url":"https://avatars.githubusercontent.com/u/1745610?v=3","gravatar_id":"","url":"https://api.github.com/users/frogger3d","html_url":"https://github.com/frogger3d","followers_url":"https://api.github.com/users/frogger3d/followers","following_url":"https://api.github.com/users/frogger3d/following{/other_user}","gists_url":"https://api.github.com/users/frogger3d/gists{/gist_id}","starred_url":"https://api.github.com/users/frogger3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frogger3d/subscriptions","organizations_url":"https://api.github.com/users/frogger3d/orgs","repos_url":"https://api.github.com/users/frogger3d/repos","events_url":"https://api.github.com/users/frogger3d/events{/privacy}","received_events_url":"https://api.github.com/users/frogger3d/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-08T14:16:38Z","updated_at":"2016-02-08T14:54:48Z","closed_at":"2016-02-08T14:29:36Z","body":"I'm struggling getting contentFiles to work in a standard csproj project. The file below generates a nupkg that contains all the files in /contentFiles that it should. However when I consume the nuget package in a standard csproj project nothing is copied to the output folder. I checked the .csproj file expecting a postbuild task, but nothing was added.\r\n\r\nThe [example project](https://github.com/NuGet/Samples/tree/master/ContentFilesExample/consuming/MyUWPApp) is a project.json project. The generated .csproj doesn't contain any copy tasks nor the embedded png resource. Is contentFiles a feature only enabled for project.json projects?\r\n\r\n``` xml\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<package xmlns=\"http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd\">\r\n  <metadata>\r\n    <id>ChickenGame</id>\r\n    <version>1.0.10</version>\r\n    <authors>SF</authors>\r\n    <description>Sample exists only to show a sample .nuspec file.</description>\r\n    <contentFiles>\r\n      <files include=\"**/*\" buildAction=\"None\" copyToOutput=\"true\" flatten=\"true\"/>\r\n    </contentFiles>\r\n  </metadata>\r\n  <files>\r\n    <file src=\"..\\bin\\release\\product\\games\\chickengame\\**\\*.*\"\r\n          target=\"contentFiles\\any\\any\\games\\chickengame\"/>\r\n    <file src=\"..\\bin\\release\\product\\games\\chickengame\\ChickenGame.Interfaces.dll\"\r\n          target=\"lib\\net45\\ChickenGame.Interfaces.dll\"/>\r\n  </files>\r\n</package>\r\n```"},"comment":{"url":"https://api.github.com/repos/NuGet/Home/issues/comments/181411337","html_url":"https://github.com/NuGet/Home/issues/2075#issuecomment-181411337","issue_url":"https://api.github.com/repos/NuGet/Home/issues/2075","id":181411337,"user":{"login":"roy-t","id":623634,"avatar_url":"https://avatars.githubusercontent.com/u/623634?v=3","gravatar_id":"","url":"https://api.github.com/users/roy-t","html_url":"https://github.com/roy-t","followers_url":"https://api.github.com/users/roy-t/followers","following_url":"https://api.github.com/users/roy-t/following{/other_user}","gists_url":"https://api.github.com/users/roy-t/gists{/gist_id}","starred_url":"https://api.github.com/users/roy-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roy-t/subscriptions","organizations_url":"https://api.github.com/users/roy-t/orgs","repos_url":"https://api.github.com/users/roy-t/repos","events_url":"https://api.github.com/users/roy-t/events{/privacy}","received_events_url":"https://api.github.com/users/roy-t/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T14:54:48Z","updated_at":"2016-02-08T14:54:48Z","body":"Can we make this bug into a feature request? Or is there already a feature request for supporting contentFiles in csproj?"}}