{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/codeformatter/pulls/comments/25651157","id":25651157,"diff_hunk":"@@ -1,35 +1,17 @@\n ﻿<?xml version=\"1.0\" encoding=\"utf-8\"?>\n <Project ToolsVersion=\"12.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n-  <Import Project=\"$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props\" Condition=\"Exists('$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props')\" />\n+  <Import Project=\"$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), build.props))\\build.props\" />","path":"src/CodeFormatter/CodeFormatter.csproj","position":4,"original_position":4,"commit_id":"a4f92b2efccb5761ea928bd702be364a986c63d7","original_commit_id":"a4f92b2efccb5761ea928bd702be364a986c63d7","user":{"login":"nslottow","id":2304989,"avatar_url":"https://avatars.githubusercontent.com/u/2304989?v=3","gravatar_id":"","url":"https://api.github.com/users/nslottow","html_url":"https://github.com/nslottow","followers_url":"https://api.github.com/users/nslottow/followers","following_url":"https://api.github.com/users/nslottow/following{/other_user}","gists_url":"https://api.github.com/users/nslottow/gists{/gist_id}","starred_url":"https://api.github.com/users/nslottow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nslottow/subscriptions","organizations_url":"https://api.github.com/users/nslottow/orgs","repos_url":"https://api.github.com/users/nslottow/repos","events_url":"https://api.github.com/users/nslottow/events{/privacy}","received_events_url":"https://api.github.com/users/nslottow/received_events","type":"User","site_admin":false},"body":"This would actually be `..\\..\\build.props` for all the projects we have right now.  I basically just did this so I could put the build.props at the top-level without having to specify exactly where the top-level is (in case things move it's one less thing to change for each project).  This is what we do in the corefx repo to find `dirs.props` and `dirs.targets`, but since the build here is not as complex this is probably not necessary.   I'll change this to `..\\..\\build.props`.","created_at":"2015-03-02T23:52:42Z","updated_at":"2015-03-02T23:52:42Z","html_url":"https://github.com/dotnet/codeformatter/pull/85#discussion_r25651157","pull_request_url":"https://api.github.com/repos/dotnet/codeformatter/pulls/85","_links":{"self":{"href":"https://api.github.com/repos/dotnet/codeformatter/pulls/comments/25651157"},"html":{"href":"https://github.com/dotnet/codeformatter/pull/85#discussion_r25651157"},"pull_request":{"href":"https://api.github.com/repos/dotnet/codeformatter/pulls/85"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/codeformatter/pulls/85","id":30211163,"html_url":"https://github.com/dotnet/codeformatter/pull/85","diff_url":"https://github.com/dotnet/codeformatter/pull/85.diff","patch_url":"https://github.com/dotnet/codeformatter/pull/85.patch","issue_url":"https://api.github.com/repos/dotnet/codeformatter/issues/85","number":85,"state":"open","locked":false,"title":"Add deadregions tool","user":{"login":"nslottow","id":2304989,"avatar_url":"https://avatars.githubusercontent.com/u/2304989?v=3","gravatar_id":"","url":"https://api.github.com/users/nslottow","html_url":"https://github.com/nslottow","followers_url":"https://api.github.com/users/nslottow/followers","following_url":"https://api.github.com/users/nslottow/following{/other_user}","gists_url":"https://api.github.com/users/nslottow/gists{/gist_id}","starred_url":"https://api.github.com/users/nslottow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nslottow/subscriptions","organizations_url":"https://api.github.com/users/nslottow/orgs","repos_url":"https://api.github.com/users/nslottow/repos","events_url":"https://api.github.com/users/nslottow/events{/privacy}","received_events_url":"https://api.github.com/users/nslottow/received_events","type":"User","site_admin":false},"body":"Add deadregions tool I've been working on for analyzing and cleaning up unnecessary (\"dead\") conditional regions in C# code.","created_at":"2015-02-27T23:43:51Z","updated_at":"2015-03-02T23:52:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8b657bba82b3b9b35e0140f12d7ee80d934c3f66","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/codeformatter/pulls/85/commits","review_comments_url":"https://api.github.com/repos/dotnet/codeformatter/pulls/85/comments","review_comment_url":"https://api.github.com/repos/dotnet/codeformatter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/codeformatter/issues/85/comments","statuses_url":"https://api.github.com/repos/dotnet/codeformatter/statuses/a4f92b2efccb5761ea928bd702be364a986c63d7","head":{"label":"nslottow:dead-regions-tool","ref":"dead-regions-tool","sha":"a4f92b2efccb5761ea928bd702be364a986c63d7","user":{"login":"nslottow","id":2304989,"avatar_url":"https://avatars.githubusercontent.com/u/2304989?v=3","gravatar_id":"","url":"https://api.github.com/users/nslottow","html_url":"https://github.com/nslottow","followers_url":"https://api.github.com/users/nslottow/followers","following_url":"https://api.github.com/users/nslottow/following{/other_user}","gists_url":"https://api.github.com/users/nslottow/gists{/gist_id}","starred_url":"https://api.github.com/users/nslottow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nslottow/subscriptions","organizations_url":"https://api.github.com/users/nslottow/orgs","repos_url":"https://api.github.com/users/nslottow/repos","events_url":"https://api.github.com/users/nslottow/events{/privacy}","received_events_url":"https://api.github.com/users/nslottow/received_events","type":"User","site_admin":false},"repo":{"id":31444169,"name":"codeformatter-1","full_name":"nslottow/codeformatter-1","owner":{"login":"nslottow","id":2304989,"avatar_url":"https://avatars.githubusercontent.com/u/2304989?v=3","gravatar_id":"","url":"https://api.github.com/users/nslottow","html_url":"https://github.com/nslottow","followers_url":"https://api.github.com/users/nslottow/followers","following_url":"https://api.github.com/users/nslottow/following{/other_user}","gists_url":"https://api.github.com/users/nslottow/gists{/gist_id}","starred_url":"https://api.github.com/users/nslottow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nslottow/subscriptions","organizations_url":"https://api.github.com/users/nslottow/orgs","repos_url":"https://api.github.com/users/nslottow/repos","events_url":"https://api.github.com/users/nslottow/events{/privacy}","received_events_url":"https://api.github.com/users/nslottow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nslottow/codeformatter-1","description":"Tool that uses Roslyn to automatically rewrite the source to follow our coding styles","fork":true,"url":"https://api.github.com/repos/nslottow/codeformatter-1","forks_url":"https://api.github.com/repos/nslottow/codeformatter-1/forks","keys_url":"https://api.github.com/repos/nslottow/codeformatter-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nslottow/codeformatter-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nslottow/codeformatter-1/teams","hooks_url":"https://api.github.com/repos/nslottow/codeformatter-1/hooks","issue_events_url":"https://api.github.com/repos/nslottow/codeformatter-1/issues/events{/number}","events_url":"https://api.github.com/repos/nslottow/codeformatter-1/events","assignees_url":"https://api.github.com/repos/nslottow/codeformatter-1/assignees{/user}","branches_url":"https://api.github.com/repos/nslottow/codeformatter-1/branches{/branch}","tags_url":"https://api.github.com/repos/nslottow/codeformatter-1/tags","blobs_url":"https://api.github.com/repos/nslottow/codeformatter-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nslottow/codeformatter-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nslottow/codeformatter-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/nslottow/codeformatter-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nslottow/codeformatter-1/statuses/{sha}","languages_url":"https://api.github.com/repos/nslottow/codeformatter-1/languages","stargazers_url":"https://api.github.com/repos/nslottow/codeformatter-1/stargazers","contributors_url":"https://api.github.com/repos/nslottow/codeformatter-1/contributors","subscribers_url":"https://api.github.com/repos/nslottow/codeformatter-1/subscribers","subscription_url":"https://api.github.com/repos/nslottow/codeformatter-1/subscription","commits_url":"https://api.github.com/repos/nslottow/codeformatter-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/nslottow/codeformatter-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/nslottow/codeformatter-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/nslottow/codeformatter-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/nslottow/codeformatter-1/contents/{+path}","compare_url":"https://api.github.com/repos/nslottow/codeformatter-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nslottow/codeformatter-1/merges","archive_url":"https://api.github.com/repos/nslottow/codeformatter-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nslottow/codeformatter-1/downloads","issues_url":"https://api.github.com/repos/nslottow/codeformatter-1/issues{/number}","pulls_url":"https://api.github.com/repos/nslottow/codeformatter-1/pulls{/number}","milestones_url":"https://api.github.com/repos/nslottow/codeformatter-1/milestones{/number}","notifications_url":"https://api.github.com/repos/nslottow/codeformatter-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nslottow/codeformatter-1/labels{/name}","releases_url":"https://api.github.com/repos/nslottow/codeformatter-1/releases{/id}","created_at":"2015-02-27T23:41:03Z","updated_at":"2015-02-27T23:41:04Z","pushed_at":"2015-02-28T00:12:35Z","git_url":"git://github.com/nslottow/codeformatter-1.git","ssh_url":"git@github.com:nslottow/codeformatter-1.git","clone_url":"https://github.com/nslottow/codeformatter-1.git","svn_url":"https://github.com/nslottow/codeformatter-1","homepage":"","size":1459,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"299dd7a1cb63ae566f43714bd2f5b9bb5f330f56","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":28896487,"name":"codeformatter","full_name":"dotnet/codeformatter","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/codeformatter","description":"Tool that uses Roslyn to automatically rewrite the source to follow our coding styles","fork":false,"url":"https://api.github.com/repos/dotnet/codeformatter","forks_url":"https://api.github.com/repos/dotnet/codeformatter/forks","keys_url":"https://api.github.com/repos/dotnet/codeformatter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/codeformatter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/codeformatter/teams","hooks_url":"https://api.github.com/repos/dotnet/codeformatter/hooks","issue_events_url":"https://api.github.com/repos/dotnet/codeformatter/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/codeformatter/events","assignees_url":"https://api.github.com/repos/dotnet/codeformatter/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/codeformatter/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/codeformatter/tags","blobs_url":"https://api.github.com/repos/dotnet/codeformatter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/codeformatter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/codeformatter/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/codeformatter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/codeformatter/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/codeformatter/languages","stargazers_url":"https://api.github.com/repos/dotnet/codeformatter/stargazers","contributors_url":"https://api.github.com/repos/dotnet/codeformatter/contributors","subscribers_url":"https://api.github.com/repos/dotnet/codeformatter/subscribers","subscription_url":"https://api.github.com/repos/dotnet/codeformatter/subscription","commits_url":"https://api.github.com/repos/dotnet/codeformatter/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/codeformatter/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/codeformatter/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/codeformatter/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/codeformatter/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/codeformatter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/codeformatter/merges","archive_url":"https://api.github.com/repos/dotnet/codeformatter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/codeformatter/downloads","issues_url":"https://api.github.com/repos/dotnet/codeformatter/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/codeformatter/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/codeformatter/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/codeformatter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/codeformatter/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/codeformatter/releases{/id}","created_at":"2015-01-07T03:28:44Z","updated_at":"2015-03-01T23:18:33Z","pushed_at":"2015-03-02T17:48:35Z","git_url":"git://github.com/dotnet/codeformatter.git","ssh_url":"git@github.com:dotnet/codeformatter.git","clone_url":"https://github.com/dotnet/codeformatter.git","svn_url":"https://github.com/dotnet/codeformatter","homepage":"","size":1459,"stargazers_count":288,"watchers_count":288,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":26,"forks":27,"open_issues":26,"watchers":288,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/codeformatter/pulls/85"},"html":{"href":"https://github.com/dotnet/codeformatter/pull/85"},"issue":{"href":"https://api.github.com/repos/dotnet/codeformatter/issues/85"},"comments":{"href":"https://api.github.com/repos/dotnet/codeformatter/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/codeformatter/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/codeformatter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/codeformatter/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/codeformatter/statuses/a4f92b2efccb5761ea928bd702be364a986c63d7"}}}}