{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Home/issues/1562","repository_url":"https://api.github.com/repos/aspnet/Home","labels_url":"https://api.github.com/repos/aspnet/Home/issues/1562/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Home/issues/1562/comments","events_url":"https://api.github.com/repos/aspnet/Home/issues/1562/events","html_url":"https://github.com/aspnet/Home/issues/1562","id":159311680,"number":1562,"title":"RC2 Visual Studio publish writes its own Web.Config","user":{"login":"glent1","id":2174807,"avatar_url":"https://avatars.githubusercontent.com/u/2174807?v=3","gravatar_id":"","url":"https://api.github.com/users/glent1","html_url":"https://github.com/glent1","followers_url":"https://api.github.com/users/glent1/followers","following_url":"https://api.github.com/users/glent1/following{/other_user}","gists_url":"https://api.github.com/users/glent1/gists{/gist_id}","starred_url":"https://api.github.com/users/glent1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glent1/subscriptions","organizations_url":"https://api.github.com/users/glent1/orgs","repos_url":"https://api.github.com/users/glent1/repos","events_url":"https://api.github.com/users/glent1/events{/privacy}","received_events_url":"https://api.github.com/users/glent1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-09T01:30:26Z","updated_at":"2016-06-09T17:29:32Z","closed_at":null,"body":"I have a web.config in the root of my web project that has some application specific settings.  This is not the web.config that gets populated into the publish folder, which seems to be entirely dynamically created.  Is there any way to control this?"},"comment":{"url":"https://api.github.com/repos/aspnet/Home/issues/comments/224967700","html_url":"https://github.com/aspnet/Home/issues/1562#issuecomment-224967700","issue_url":"https://api.github.com/repos/aspnet/Home/issues/1562","id":224967700,"user":{"login":"SimonOrdo","id":15930167,"avatar_url":"https://avatars.githubusercontent.com/u/15930167?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonOrdo","html_url":"https://github.com/SimonOrdo","followers_url":"https://api.github.com/users/SimonOrdo/followers","following_url":"https://api.github.com/users/SimonOrdo/following{/other_user}","gists_url":"https://api.github.com/users/SimonOrdo/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonOrdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonOrdo/subscriptions","organizations_url":"https://api.github.com/users/SimonOrdo/orgs","repos_url":"https://api.github.com/users/SimonOrdo/repos","events_url":"https://api.github.com/users/SimonOrdo/events{/privacy}","received_events_url":"https://api.github.com/users/SimonOrdo/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T17:29:32Z","updated_at":"2016-06-09T17:29:32Z","body":"Ad I understand it, the publish process does edit the web.config a bit to help IIS find/run the app.\r\n\r\nLike @glent1 said, try removing this bit and see if it re-writes the config:\r\n\r\n\"postpublish\": [ \"dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%\" ]"}}
{"actor":{"display_login":"SimonOrdo"}}