{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/6931","repository_url":"https://api.github.com/repos/NuGet/Home","labels_url":"https://api.github.com/repos/NuGet/Home/issues/6931/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/6931/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/6931/events","html_url":"https://github.com/NuGet/Home/issues/6931","id":322856864,"number":6931,"title":"IncludeSource in .csproj doesn't work","user":{"login":"rainersigwald","id":3347530,"avatar_url":"https://avatars1.githubusercontent.com/u/3347530?v=4","gravatar_id":"","url":"https://api.github.com/users/rainersigwald","html_url":"https://github.com/rainersigwald","followers_url":"https://api.github.com/users/rainersigwald/followers","following_url":"https://api.github.com/users/rainersigwald/following{/other_user}","gists_url":"https://api.github.com/users/rainersigwald/gists{/gist_id}","starred_url":"https://api.github.com/users/rainersigwald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainersigwald/subscriptions","organizations_url":"https://api.github.com/users/rainersigwald/orgs","repos_url":"https://api.github.com/users/rainersigwald/repos","events_url":"https://api.github.com/users/rainersigwald/events{/privacy}","received_events_url":"https://api.github.com/users/rainersigwald/received_events","type":"User","site_admin":false},"labels":[{"id":330852328,"url":"https://api.github.com/repos/NuGet/Home/labels/Area:%20Pack","name":"Area: Pack","color":"e11d21","default":false},{"id":270095664,"url":"https://api.github.com/repos/NuGet/Home/labels/Investigate","name":"Investigate","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-14T15:03:33Z","updated_at":"2018-05-15T08:02:42Z","closed_at":null,"author_association":"NONE","body":"_From @josh-endries on May 13, 2018 0:57_\n\nI've been trying to embed source and/or PDBs into a NuGet package but can't figure it out with the new `csproj` files. I have a project that targets a few frameworks. I'm using VSTS, which is a whole other mess, but it doesn't work locally in VS2017 either. I used to just use `<files/>` in the `nuspec` file, but that doesn't work with the new projects, apparently, or multi-targeting at least.\r\n\r\nBased on [this page](https://docs.microsoft.com/en-us/dotnet/core/tools/csproj) I tried to add `<IncludeSource>true</IncludeSource>` to my `PropertyGroup` but that didn't work. It did build a symbols package but that's not what I'm looking for. I also tried adding `<IncludeSourceFilesProjectOutputGroup></IncludeSourceFilesProjectOutputGroup>` but that didn't work either. There's no real or useful documentation on that though and I don't know what it is, it just sounded related. This whole thing is so confusing it's insane.\r\n\r\nI just tried `msbuild /t:pack /p:IncludeSource=true` but that didn't do it either. The page linked above doesn't really make clear what sort of keyword they all are.\n\n_Copied from original issue: Microsoft/msbuild#3302_"},"comment":{"url":"https://api.github.com/repos/NuGet/Home/issues/comments/389079636","html_url":"https://github.com/NuGet/Home/issues/6931#issuecomment-389079636","issue_url":"https://api.github.com/repos/NuGet/Home/issues/6931","id":389079636,"user":{"login":"rohit21agrawal","id":1857490,"avatar_url":"https://avatars2.githubusercontent.com/u/1857490?v=4","gravatar_id":"","url":"https://api.github.com/users/rohit21agrawal","html_url":"https://github.com/rohit21agrawal","followers_url":"https://api.github.com/users/rohit21agrawal/followers","following_url":"https://api.github.com/users/rohit21agrawal/following{/other_user}","gists_url":"https://api.github.com/users/rohit21agrawal/gists{/gist_id}","starred_url":"https://api.github.com/users/rohit21agrawal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohit21agrawal/subscriptions","organizations_url":"https://api.github.com/users/rohit21agrawal/orgs","repos_url":"https://api.github.com/users/rohit21agrawal/repos","events_url":"https://api.github.com/users/rohit21agrawal/events{/privacy}","received_events_url":"https://api.github.com/users/rohit21agrawal/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T08:02:41Z","updated_at":"2018-05-15T08:02:41Z","author_association":"CONTRIBUTOR","body":"@mishra14 you can close this as by design , and as a question.  @josh-endries can continue to engage here if he has more questions."}}
{"actor":{"display_login":"rohit21agrawal"}}