{"action":"closed","number":377,"pull_request":{"url":"https://api.github.com/repos/aspnet/websdk/pulls/377","id":199115987,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5MTE1OTg3","html_url":"https://github.com/aspnet/websdk/pull/377","diff_url":"https://github.com/aspnet/websdk/pull/377.diff","patch_url":"https://github.com/aspnet/websdk/pull/377.patch","issue_url":"https://api.github.com/repos/aspnet/websdk/issues/377","number":377,"state":"closed","locked":false,"title":"Updating web.config transform to handle 'location' & 'environmentvariables'","user":{"login":"vijayrkn","id":3981619,"node_id":"MDQ6VXNlcjM5ODE2MTk=","avatar_url":"https://avatars0.githubusercontent.com/u/3981619?v=4","gravatar_id":"","url":"https://api.github.com/users/vijayrkn","html_url":"https://github.com/vijayrkn","followers_url":"https://api.github.com/users/vijayrkn/followers","following_url":"https://api.github.com/users/vijayrkn/following{/other_user}","gists_url":"https://api.github.com/users/vijayrkn/gists{/gist_id}","starred_url":"https://api.github.com/users/vijayrkn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vijayrkn/subscriptions","organizations_url":"https://api.github.com/users/vijayrkn/orgs","repos_url":"https://api.github.com/users/vijayrkn/repos","events_url":"https://api.github.com/users/vijayrkn/events{/privacy}","received_events_url":"https://api.github.com/users/vijayrkn/received_events","type":"User","site_admin":false},"body":"if web.config is not present in the project & msbuild property $(EnvironmentName) with value 'Staging' is passed, then the following web.config will be generated. \r\n\r\n- Location is added for newly generated web.configs\r\n- Location is not added if a web.config is passed without the location.\r\n- Environment name will be overwritten if $(EnvironmentName) is passed and existing web.config already has one.\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<configuration>\r\n  <location path=\".\" inheritInChildApplications=\"false\">\r\n    <system.webServer>\r\n      <handlers>\r\n        <add name=\"aspNetCore\" path=\"*\" verb=\"*\" modules=\"AspNetCoreModule\" resourceType=\"Unspecified\" />\r\n      </handlers>\r\n      <aspNetCore processPath=\"dotnet\" arguments=\".\\WebApplication242.dll\" stdoutLogEnabled=\"false\" stdoutLogFile=\".\\logs\\stdout\">\r\n        <environmentVariables>\r\n          <environmentVariable name=\"ASPNETCORE_ENVIRONMENT\" value=\"Staging\" />\r\n        </environmentVariables>\r\n      </aspNetCore>\r\n    </system.webServer>\r\n  </location>\r\n</configuration>\r\n```\r\n\r\n@mlorbetske @shirhatti @pan-wang ","created_at":"2018-07-04T01:00:03Z","updated_at":"2018-07-05T23:03:39Z","closed_at":"2018-07-05T23:03:39Z","merged_at":null,"merge_commit_sha":"f3d0c5c0a2dbab53a7ab55c194a043f9b4493458","assignee":null,"assignees":[],"requested_reviewers":[{"login":"mlorbetske","id":1414993,"node_id":"MDQ6VXNlcjE0MTQ5OTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1414993?v=4","gravatar_id":"","url":"https://api.github.com/users/mlorbetske","html_url":"https://github.com/mlorbetske","followers_url":"https://api.github.com/users/mlorbetske/followers","following_url":"https://api.github.com/users/mlorbetske/following{/other_user}","gists_url":"https://api.github.com/users/mlorbetske/gists{/gist_id}","starred_url":"https://api.github.com/users/mlorbetske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlorbetske/subscriptions","organizations_url":"https://api.github.com/users/mlorbetske/orgs","repos_url":"https://api.github.com/users/mlorbetske/repos","events_url":"https://api.github.com/users/mlorbetske/events{/privacy}","received_events_url":"https://api.github.com/users/mlorbetske/received_events","type":"User","site_admin":false},{"login":"natemcmaster","id":2696087,"node_id":"MDQ6VXNlcjI2OTYwODc=","avatar_url":"https://avatars0.githubusercontent.com/u/2696087?v=4","gravatar_id":"","url":"https://api.github.com/users/natemcmaster","html_url":"https://github.com/natemcmaster","followers_url":"https://api.github.com/users/natemcmaster/followers","following_url":"https://api.github.com/users/natemcmaster/following{/other_user}","gists_url":"https://api.github.com/users/natemcmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/natemcmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natemcmaster/subscriptions","organizations_url":"https://api.github.com/users/natemcmaster/orgs","repos_url":"https://api.github.com/users/natemcmaster/repos","events_url":"https://api.github.com/users/natemcmaster/events{/privacy}","received_events_url":"https://api.github.com/users/natemcmaster/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aspnet/websdk/pulls/377/commits","review_comments_url":"https://api.github.com/repos/aspnet/websdk/pulls/377/comments","review_comment_url":"https://api.github.com/repos/aspnet/websdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aspnet/websdk/issues/377/comments","statuses_url":"https://api.github.com/repos/aspnet/websdk/statuses/4523dde15ed2de7014e5e75b96c4567059fcffee","head":{"label":"aspnet:vramak/UseEnvVariables","ref":"vramak/UseEnvVariables","sha":"4523dde15ed2de7014e5e75b96c4567059fcffee","user":{"login":"aspnet","id":6476660,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0NzY2NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/6476660?v=4","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":63909987,"node_id":"MDEwOlJlcG9zaXRvcnk2MzkwOTk4Nw==","name":"websdk","full_name":"aspnet/websdk","owner":{"login":"aspnet","id":6476660,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0NzY2NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/6476660?v=4","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/websdk","description":"MSBuild tasks and targets required for publishing ASP.NET applications","fork":false,"url":"https://api.github.com/repos/aspnet/websdk","forks_url":"https://api.github.com/repos/aspnet/websdk/forks","keys_url":"https://api.github.com/repos/aspnet/websdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/websdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/websdk/teams","hooks_url":"https://api.github.com/repos/aspnet/websdk/hooks","issue_events_url":"https://api.github.com/repos/aspnet/websdk/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/websdk/events","assignees_url":"https://api.github.com/repos/aspnet/websdk/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/websdk/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/websdk/tags","blobs_url":"https://api.github.com/repos/aspnet/websdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/websdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/websdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/websdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/websdk/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/websdk/languages","stargazers_url":"https://api.github.com/repos/aspnet/websdk/stargazers","contributors_url":"https://api.github.com/repos/aspnet/websdk/contributors","subscribers_url":"https://api.github.com/repos/aspnet/websdk/subscribers","subscription_url":"https://api.github.com/repos/aspnet/websdk/subscription","commits_url":"https://api.github.com/repos/aspnet/websdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/websdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/websdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/websdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/websdk/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/websdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/websdk/merges","archive_url":"https://api.github.com/repos/aspnet/websdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/websdk/downloads","issues_url":"https://api.github.com/repos/aspnet/websdk/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/websdk/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/websdk/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/websdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/websdk/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/websdk/releases{/id}","deployments_url":"https://api.github.com/repos/aspnet/websdk/deployments","created_at":"2016-07-22T00:01:25Z","updated_at":"2018-07-05T18:53:16Z","pushed_at":"2018-07-05T18:55:10Z","git_url":"git://github.com/aspnet/websdk.git","ssh_url":"git@github.com:aspnet/websdk.git","clone_url":"https://github.com/aspnet/websdk.git","svn_url":"https://github.com/aspnet/websdk","homepage":null,"size":2408,"stargazers_count":37,"watchers_count":37,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":39,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":18,"open_issues":39,"watchers":37,"default_branch":"master"}},"base":{"label":"aspnet:release/2.1.4xx","ref":"release/2.1.4xx","sha":"45179c07270891eb3c2a840d73f0f70084a26880","user":{"login":"aspnet","id":6476660,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0NzY2NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/6476660?v=4","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":63909987,"node_id":"MDEwOlJlcG9zaXRvcnk2MzkwOTk4Nw==","name":"websdk","full_name":"aspnet/websdk","owner":{"login":"aspnet","id":6476660,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0NzY2NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/6476660?v=4","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/websdk","description":"MSBuild tasks and targets required for publishing ASP.NET applications","fork":false,"url":"https://api.github.com/repos/aspnet/websdk","forks_url":"https://api.github.com/repos/aspnet/websdk/forks","keys_url":"https://api.github.com/repos/aspnet/websdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/websdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/websdk/teams","hooks_url":"https://api.github.com/repos/aspnet/websdk/hooks","issue_events_url":"https://api.github.com/repos/aspnet/websdk/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/websdk/events","assignees_url":"https://api.github.com/repos/aspnet/websdk/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/websdk/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/websdk/tags","blobs_url":"https://api.github.com/repos/aspnet/websdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/websdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/websdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/websdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/websdk/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/websdk/languages","stargazers_url":"https://api.github.com/repos/aspnet/websdk/stargazers","contributors_url":"https://api.github.com/repos/aspnet/websdk/contributors","subscribers_url":"https://api.github.com/repos/aspnet/websdk/subscribers","subscription_url":"https://api.github.com/repos/aspnet/websdk/subscription","commits_url":"https://api.github.com/repos/aspnet/websdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/websdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/websdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/websdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/websdk/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/websdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/websdk/merges","archive_url":"https://api.github.com/repos/aspnet/websdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/websdk/downloads","issues_url":"https://api.github.com/repos/aspnet/websdk/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/websdk/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/websdk/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/websdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/websdk/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/websdk/releases{/id}","deployments_url":"https://api.github.com/repos/aspnet/websdk/deployments","created_at":"2016-07-22T00:01:25Z","updated_at":"2018-07-05T18:53:16Z","pushed_at":"2018-07-05T18:55:10Z","git_url":"git://github.com/aspnet/websdk.git","ssh_url":"git@github.com:aspnet/websdk.git","clone_url":"https://github.com/aspnet/websdk.git","svn_url":"https://github.com/aspnet/websdk","homepage":null,"size":2408,"stargazers_count":37,"watchers_count":37,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":39,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":18,"open_issues":39,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aspnet/websdk/pulls/377"},"html":{"href":"https://github.com/aspnet/websdk/pull/377"},"issue":{"href":"https://api.github.com/repos/aspnet/websdk/issues/377"},"comments":{"href":"https://api.github.com/repos/aspnet/websdk/issues/377/comments"},"review_comments":{"href":"https://api.github.com/repos/aspnet/websdk/pulls/377/comments"},"review_comment":{"href":"https://api.github.com/repos/aspnet/websdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aspnet/websdk/pulls/377/commits"},"statuses":{"href":"https://api.github.com/repos/aspnet/websdk/statuses/4523dde15ed2de7014e5e75b96c4567059fcffee"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":178,"deletions":78,"changed_files":6}}
{"actor":{"display_login":"natemcmaster"}}