{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/2135","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/2135/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/2135/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/2135/events","html_url":"https://github.com/dotnet/cli/issues/2135","id":144496329,"number":2135,"title":"How do you publish a website with dotnet cli and upload to server?","user":{"login":"Gillardo","id":7406381,"avatar_url":"https://avatars.githubusercontent.com/u/7406381?v=3","gravatar_id":"","url":"https://api.github.com/users/Gillardo","html_url":"https://github.com/Gillardo","followers_url":"https://api.github.com/users/Gillardo/followers","following_url":"https://api.github.com/users/Gillardo/following{/other_user}","gists_url":"https://api.github.com/users/Gillardo/gists{/gist_id}","starred_url":"https://api.github.com/users/Gillardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gillardo/subscriptions","organizations_url":"https://api.github.com/users/Gillardo/orgs","repos_url":"https://api.github.com/users/Gillardo/repos","events_url":"https://api.github.com/users/Gillardo/events{/privacy}","received_events_url":"https://api.github.com/users/Gillardo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/cli/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/dotnet/cli/milestones/7","html_url":"https://github.com/dotnet/cli/milestones/Backlog","labels_url":"https://api.github.com/repos/dotnet/cli/milestones/7/labels","id":1426021,"number":7,"title":"Backlog","description":null,"creator":{"login":"piotrpMSFT","id":2379589,"avatar_url":"https://avatars.githubusercontent.com/u/2379589?v=3","gravatar_id":"","url":"https://api.github.com/users/piotrpMSFT","html_url":"https://github.com/piotrpMSFT","followers_url":"https://api.github.com/users/piotrpMSFT/followers","following_url":"https://api.github.com/users/piotrpMSFT/following{/other_user}","gists_url":"https://api.github.com/users/piotrpMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrpMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrpMSFT/subscriptions","organizations_url":"https://api.github.com/users/piotrpMSFT/orgs","repos_url":"https://api.github.com/users/piotrpMSFT/repos","events_url":"https://api.github.com/users/piotrpMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/piotrpMSFT/received_events","type":"User","site_admin":false},"open_issues":203,"closed_issues":73,"state":"open","created_at":"2015-11-23T20:29:29Z","updated_at":"2016-05-10T15:55:27Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2016-03-30T08:01:50Z","updated_at":"2016-05-10T15:55:27Z","closed_at":"2016-05-10T15:55:27Z","body":"What i mean is that before, when using `dnx publish` it would create 3 folders, wwwroot, approot and logs.  You then uploaded these 3 folders to your server, and pointing the IIS at the wwwroot folder that you just uploaded.  Boom website running.\r\n\r\nNow it seems to create a folder called publis in the following path MyProject\\bin\\Debug\\net451\\win7-x64\r\n\r\nNow if i upload the contents of this folder, which consists of 3 folders called refs, Views, wwwroot and lots of dlls to my website, and point IIS at the wwwroot folder i uploaded.  IIS doesnt work.\r\n\r\nPart of my project.json file is as follows in my website project\r\n```\r\n\"compilationOptions\": {\r\n\t\"emitEntryPoint\": true,\r\n\t\"preserveCompilationContext\": true\r\n},\r\n\r\n\"commands\": {\r\n\t\"web\": \"My.Web.App\"\r\n},\r\n\r\n\"content\": [\r\n\t\"wwwroot\",\r\n\t\"Views\"\r\n],\r\n\r\n\"frameworks\": {\r\n\t\"net451\": {\r\n\t\t\"frameworkAssemblies\": {\r\n\t\t\t\"System.ComponentModel\": \"\"\r\n\t\t}\r\n\t}\r\n},\r\n```"},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/218203578","html_url":"https://github.com/dotnet/cli/issues/2135#issuecomment-218203578","issue_url":"https://api.github.com/repos/dotnet/cli/issues/2135","id":218203578,"user":{"login":"Gillardo","id":7406381,"avatar_url":"https://avatars.githubusercontent.com/u/7406381?v=3","gravatar_id":"","url":"https://api.github.com/users/Gillardo","html_url":"https://github.com/Gillardo","followers_url":"https://api.github.com/users/Gillardo/followers","following_url":"https://api.github.com/users/Gillardo/following{/other_user}","gists_url":"https://api.github.com/users/Gillardo/gists{/gist_id}","starred_url":"https://api.github.com/users/Gillardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gillardo/subscriptions","organizations_url":"https://api.github.com/users/Gillardo/orgs","repos_url":"https://api.github.com/users/Gillardo/repos","events_url":"https://api.github.com/users/Gillardo/events{/privacy}","received_events_url":"https://api.github.com/users/Gillardo/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T15:55:27Z","updated_at":"2016-05-10T15:55:27Z","body":"@moozzyk STAR!  I changed my IIS to point to the application, and not the wwwroot folder, then moved the web.config into that same folder and it works.  Thanks again!"}}