{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Tooling/issues/318","labels_url":"https://api.github.com/repos/aspnet/Tooling/issues/318/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Tooling/issues/318/comments","events_url":"https://api.github.com/repos/aspnet/Tooling/issues/318/events","html_url":"https://github.com/aspnet/Tooling/issues/318","id":120006956,"number":318,"title":"--no-source flag and \"Compile source files into NuGet packages\" in VS Publish","user":{"login":"sayedihashimi","id":1283154,"avatar_url":"https://avatars.githubusercontent.com/u/1283154?v=3","gravatar_id":"","url":"https://api.github.com/users/sayedihashimi","html_url":"https://github.com/sayedihashimi","followers_url":"https://api.github.com/users/sayedihashimi/followers","following_url":"https://api.github.com/users/sayedihashimi/following{/other_user}","gists_url":"https://api.github.com/users/sayedihashimi/gists{/gist_id}","starred_url":"https://api.github.com/users/sayedihashimi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sayedihashimi/subscriptions","organizations_url":"https://api.github.com/users/sayedihashimi/orgs","repos_url":"https://api.github.com/users/sayedihashimi/repos","events_url":"https://api.github.com/users/sayedihashimi/events{/privacy}","received_events_url":"https://api.github.com/users/sayedihashimi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-02T18:31:57Z","updated_at":"2015-12-02T18:34:16Z","closed_at":null,"body":"Originally posted by @halter73 GuardRex at https://github.com/aspnet/vsweb-publish/issues/27\r\n\r\n>RE: VS Publish\r\nConfused a bit on why the setting for \"Compile source files into NuGet packages\" ... It results in a `dnu publish` command with `--no-source`. I expected the opposite behavior, which means I don't understand what the switch does relative to what the `--no-source` flag means in the command. What am I missing in my understanding? \r\n\r\n>@vijayrkn Ok, thanks. That makes perfect sense. I was just asking b/c I was just talking to @davidfowl  about [getting the signing key of an assembly in the right spot](https://github.com/aspnet/dnx/issues/3029#issuecomment-159675819) in a published app so it would get picked up in the server environment. He said to go \"--no-source\" to get a full project structure in the published app, and that's when it sort of dawned on me that the name of the flag is kind-of misleading and kind-of doesn't match what the checkbox says with the word \"no\" in there. I just expected it to go the other way in terms of what the flag did. No worries ... thanks for responding.\r\n\r\n>Let me leave you with one idea though along these lines. You say that it was best to not show that checkbox as \"--no-source\" ... yes ... totally get that ... but when @davidfowl said to publish \"--no-source\", I went looking for that and it took me a little while to figure it out, especially because the wording seems a little backwards. Just as an idea here: Perhaps making the text of the checkbox read like this ...\r\n```\r\nCompile source files into NuGet packages (--no-source)\r\n```\r\n>... would solve both situations: let folks know what's going to happen but also explain what switch will be added to the publish command. I'll wait to hear if that's a decent idea before closing; but if that's no good and you want to close, please go ahead and close ... this issue was mostly just about my question on it.\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/Tooling/issues/comments/161391829","html_url":"https://github.com/aspnet/Tooling/issues/318#issuecomment-161391829","issue_url":"https://api.github.com/repos/aspnet/Tooling/issues/318","id":161391829,"user":{"login":"sayedihashimi","id":1283154,"avatar_url":"https://avatars.githubusercontent.com/u/1283154?v=3","gravatar_id":"","url":"https://api.github.com/users/sayedihashimi","html_url":"https://github.com/sayedihashimi","followers_url":"https://api.github.com/users/sayedihashimi/followers","following_url":"https://api.github.com/users/sayedihashimi/following{/other_user}","gists_url":"https://api.github.com/users/sayedihashimi/gists{/gist_id}","starred_url":"https://api.github.com/users/sayedihashimi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sayedihashimi/subscriptions","organizations_url":"https://api.github.com/users/sayedihashimi/orgs","repos_url":"https://api.github.com/users/sayedihashimi/repos","events_url":"https://api.github.com/users/sayedihashimi/events{/privacy}","received_events_url":"https://api.github.com/users/sayedihashimi/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T18:34:16Z","updated_at":"2015-12-02T18:34:16Z","body":"TFS: 169345\r\nI've added this to our internal TFS, we will reply back here soon."}}