{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/vsweb-publish/issues/26","labels_url":"https://api.github.com/repos/aspnet/vsweb-publish/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/vsweb-publish/issues/26/comments","events_url":"https://api.github.com/repos/aspnet/vsweb-publish/issues/26/events","html_url":"https://github.com/aspnet/vsweb-publish/issues/26","id":114031980,"number":26,"title":"Web.config transforms for setting environmentVariables for httpPlatformHandler","user":{"login":"Schlurcher","id":973681,"avatar_url":"https://avatars.githubusercontent.com/u/973681?v=3","gravatar_id":"","url":"https://api.github.com/users/Schlurcher","html_url":"https://github.com/Schlurcher","followers_url":"https://api.github.com/users/Schlurcher/followers","following_url":"https://api.github.com/users/Schlurcher/following{/other_user}","gists_url":"https://api.github.com/users/Schlurcher/gists{/gist_id}","starred_url":"https://api.github.com/users/Schlurcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Schlurcher/subscriptions","organizations_url":"https://api.github.com/users/Schlurcher/orgs","repos_url":"https://api.github.com/users/Schlurcher/repos","events_url":"https://api.github.com/users/Schlurcher/events{/privacy}","received_events_url":"https://api.github.com/users/Schlurcher/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-29T11:37:49Z","updated_at":"2015-10-29T18:27:19Z","closed_at":"2015-10-29T18:27:19Z","body":"Hi there, this is probably more a question than an issue.\r\n\r\nI'm currently publishing to my own machine using Web Publish. This machine hosts both staging and production environments. Which means both share the same ASPNET_ENV variable and this causes a bit of friction during deployment. I have to manually change the environmentVariable of the httpPlatform according to the deployment target.\r\n\r\nWhat I would much prefer were the ability to use web.config transforms to transform the wwwroot/web.config during publish, for the sole purpose of setting ASPNET_ENV depending on the publish profile.\r\n\r\nIs it currently possible to run transforms during publish, or was this ability deemed unnecessary for the new publish process?"},"comment":{"url":"https://api.github.com/repos/aspnet/vsweb-publish/issues/comments/152275818","html_url":"https://github.com/aspnet/vsweb-publish/issues/26#issuecomment-152275818","issue_url":"https://api.github.com/repos/aspnet/vsweb-publish/issues/26","id":152275818,"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-10-29T18:27:19Z","updated_at":"2015-10-29T18:27:19Z","body":"Moved to https://github.com/aspnet/Tooling/issues/252 closing here"}}