{"action":"created","comment":{"url":"https://api.github.com/repos/ligershark/side-waffle/pulls/comments/27766813","id":27766813,"diff_hunk":"@@ -18,6 +30,16 @@ class TemplateReferenceCreator {\n             var curProjObj = ProjectRootElement.Open(currentProject.FullName);\n             var item = curProjObj.AddItem(\"TemplateReference\", selectedProjFile.Name, GetTemplateReferenceMetadata(relativePath));\n \n+            // Install the TemplateBuilder NuGet pkg into the target project\n+            \n+            InstallTemplateBuilderPackage(selectedProject);","path":"TemplatePack/Tooling/TemplateReferenceCreator.cs","position":34,"original_position":34,"commit_id":"25614d16f2163f10043c46b09d72920c71c37122","original_commit_id":"e05aaee9eb683d8dd05341778a918f6dca2aaa71","user":{"login":"RandomlyKnighted","id":2483249,"avatar_url":"https://avatars.githubusercontent.com/u/2483249?v=3","gravatar_id":"","url":"https://api.github.com/users/RandomlyKnighted","html_url":"https://github.com/RandomlyKnighted","followers_url":"https://api.github.com/users/RandomlyKnighted/followers","following_url":"https://api.github.com/users/RandomlyKnighted/following{/other_user}","gists_url":"https://api.github.com/users/RandomlyKnighted/gists{/gist_id}","starred_url":"https://api.github.com/users/RandomlyKnighted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandomlyKnighted/subscriptions","organizations_url":"https://api.github.com/users/RandomlyKnighted/orgs","repos_url":"https://api.github.com/users/RandomlyKnighted/repos","events_url":"https://api.github.com/users/RandomlyKnighted/events{/privacy}","received_events_url":"https://api.github.com/users/RandomlyKnighted/received_events","type":"User","site_admin":false},"body":"Ah, I misunderstood that. I took ```selectedProject``` to be the project that was selected in the ComboBox.","created_at":"2015-04-04T05:43:31Z","updated_at":"2015-04-04T05:43:31Z","html_url":"https://github.com/ligershark/side-waffle/pull/245#discussion_r27766813","pull_request_url":"https://api.github.com/repos/ligershark/side-waffle/pulls/245","_links":{"self":{"href":"https://api.github.com/repos/ligershark/side-waffle/pulls/comments/27766813"},"html":{"href":"https://github.com/ligershark/side-waffle/pull/245#discussion_r27766813"},"pull_request":{"href":"https://api.github.com/repos/ligershark/side-waffle/pulls/245"}}},"pull_request":{"url":"https://api.github.com/repos/ligershark/side-waffle/pulls/245","id":32624942,"html_url":"https://github.com/ligershark/side-waffle/pull/245","diff_url":"https://github.com/ligershark/side-waffle/pull/245.diff","patch_url":"https://github.com/ligershark/side-waffle/pull/245.patch","issue_url":"https://api.github.com/repos/ligershark/side-waffle/issues/245","number":245,"state":"open","locked":false,"title":"Updated Template Reference item template","user":{"login":"RandomlyKnighted","id":2483249,"avatar_url":"https://avatars.githubusercontent.com/u/2483249?v=3","gravatar_id":"","url":"https://api.github.com/users/RandomlyKnighted","html_url":"https://github.com/RandomlyKnighted","followers_url":"https://api.github.com/users/RandomlyKnighted/followers","following_url":"https://api.github.com/users/RandomlyKnighted/following{/other_user}","gists_url":"https://api.github.com/users/RandomlyKnighted/gists{/gist_id}","starred_url":"https://api.github.com/users/RandomlyKnighted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandomlyKnighted/subscriptions","organizations_url":"https://api.github.com/users/RandomlyKnighted/orgs","repos_url":"https://api.github.com/users/RandomlyKnighted/repos","events_url":"https://api.github.com/users/RandomlyKnighted/events{/privacy}","received_events_url":"https://api.github.com/users/RandomlyKnighted/received_events","type":"User","site_admin":false},"body":"Per #238 the Template Reference item template will now automatically install the TemplateBuilder NuGet package in the selected project. It will also install the SideWaffle Project Template Files item template into the target repository. \r\n\r\nNote: There is an odd bug where the Template Reference does not show up in the VSIX project unless you save, close, and then reopen the solution.","created_at":"2015-04-04T00:09:02Z","updated_at":"2015-04-04T05:43:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"44ad6259451b1333be94ec5965c18f6648518d71","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ligershark/side-waffle/pulls/245/commits","review_comments_url":"https://api.github.com/repos/ligershark/side-waffle/pulls/245/comments","review_comment_url":"https://api.github.com/repos/ligershark/side-waffle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ligershark/side-waffle/issues/245/comments","statuses_url":"https://api.github.com/repos/ligershark/side-waffle/statuses/25614d16f2163f10043c46b09d72920c71c37122","head":{"label":"RandomlyKnighted:template-reference-update","ref":"template-reference-update","sha":"25614d16f2163f10043c46b09d72920c71c37122","user":{"login":"RandomlyKnighted","id":2483249,"avatar_url":"https://avatars.githubusercontent.com/u/2483249?v=3","gravatar_id":"","url":"https://api.github.com/users/RandomlyKnighted","html_url":"https://github.com/RandomlyKnighted","followers_url":"https://api.github.com/users/RandomlyKnighted/followers","following_url":"https://api.github.com/users/RandomlyKnighted/following{/other_user}","gists_url":"https://api.github.com/users/RandomlyKnighted/gists{/gist_id}","starred_url":"https://api.github.com/users/RandomlyKnighted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandomlyKnighted/subscriptions","organizations_url":"https://api.github.com/users/RandomlyKnighted/orgs","repos_url":"https://api.github.com/users/RandomlyKnighted/repos","events_url":"https://api.github.com/users/RandomlyKnighted/events{/privacy}","received_events_url":"https://api.github.com/users/RandomlyKnighted/received_events","type":"User","site_admin":false},"repo":{"id":28681091,"name":"side-waffle","full_name":"RandomlyKnighted/side-waffle","owner":{"login":"RandomlyKnighted","id":2483249,"avatar_url":"https://avatars.githubusercontent.com/u/2483249?v=3","gravatar_id":"","url":"https://api.github.com/users/RandomlyKnighted","html_url":"https://github.com/RandomlyKnighted","followers_url":"https://api.github.com/users/RandomlyKnighted/followers","following_url":"https://api.github.com/users/RandomlyKnighted/following{/other_user}","gists_url":"https://api.github.com/users/RandomlyKnighted/gists{/gist_id}","starred_url":"https://api.github.com/users/RandomlyKnighted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandomlyKnighted/subscriptions","organizations_url":"https://api.github.com/users/RandomlyKnighted/orgs","repos_url":"https://api.github.com/users/RandomlyKnighted/repos","events_url":"https://api.github.com/users/RandomlyKnighted/events{/privacy}","received_events_url":"https://api.github.com/users/RandomlyKnighted/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RandomlyKnighted/side-waffle","description":"A collection of Item- and Project Templates for Visual Studio","fork":true,"url":"https://api.github.com/repos/RandomlyKnighted/side-waffle","forks_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/forks","keys_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/teams","hooks_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/hooks","issue_events_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/issues/events{/number}","events_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/events","assignees_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/assignees{/user}","branches_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/branches{/branch}","tags_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/tags","blobs_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/git/refs{/sha}","trees_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/statuses/{sha}","languages_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/languages","stargazers_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/stargazers","contributors_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/contributors","subscribers_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/subscribers","subscription_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/subscription","commits_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/commits{/sha}","git_commits_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/git/commits{/sha}","comments_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/comments{/number}","issue_comment_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/issues/comments{/number}","contents_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/contents/{+path}","compare_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/merges","archive_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/downloads","issues_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/issues{/number}","pulls_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/pulls{/number}","milestones_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/milestones{/number}","notifications_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/labels{/name}","releases_url":"https://api.github.com/repos/RandomlyKnighted/side-waffle/releases{/id}","created_at":"2015-01-01T05:32:38Z","updated_at":"2015-03-29T16:31:06Z","pushed_at":"2015-04-04T05:30:06Z","git_url":"git://github.com/RandomlyKnighted/side-waffle.git","ssh_url":"git@github.com:RandomlyKnighted/side-waffle.git","clone_url":"https://github.com/RandomlyKnighted/side-waffle.git","svn_url":"https://github.com/RandomlyKnighted/side-waffle","homepage":null,"size":13707,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"ligershark:master","ref":"master","sha":"2d147a2a41539b087cfbc949ff8c05c8f5ae9265","user":{"login":"ligershark","id":3195020,"avatar_url":"https://avatars.githubusercontent.com/u/3195020?v=3","gravatar_id":"","url":"https://api.github.com/users/ligershark","html_url":"https://github.com/ligershark","followers_url":"https://api.github.com/users/ligershark/followers","following_url":"https://api.github.com/users/ligershark/following{/other_user}","gists_url":"https://api.github.com/users/ligershark/gists{/gist_id}","starred_url":"https://api.github.com/users/ligershark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligershark/subscriptions","organizations_url":"https://api.github.com/users/ligershark/orgs","repos_url":"https://api.github.com/users/ligershark/repos","events_url":"https://api.github.com/users/ligershark/events{/privacy}","received_events_url":"https://api.github.com/users/ligershark/received_events","type":"Organization","site_admin":false},"repo":{"id":12004332,"name":"side-waffle","full_name":"ligershark/side-waffle","owner":{"login":"ligershark","id":3195020,"avatar_url":"https://avatars.githubusercontent.com/u/3195020?v=3","gravatar_id":"","url":"https://api.github.com/users/ligershark","html_url":"https://github.com/ligershark","followers_url":"https://api.github.com/users/ligershark/followers","following_url":"https://api.github.com/users/ligershark/following{/other_user}","gists_url":"https://api.github.com/users/ligershark/gists{/gist_id}","starred_url":"https://api.github.com/users/ligershark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligershark/subscriptions","organizations_url":"https://api.github.com/users/ligershark/orgs","repos_url":"https://api.github.com/users/ligershark/repos","events_url":"https://api.github.com/users/ligershark/events{/privacy}","received_events_url":"https://api.github.com/users/ligershark/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ligershark/side-waffle","description":"A collection of Item- and Project Templates for Visual Studio","fork":false,"url":"https://api.github.com/repos/ligershark/side-waffle","forks_url":"https://api.github.com/repos/ligershark/side-waffle/forks","keys_url":"https://api.github.com/repos/ligershark/side-waffle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ligershark/side-waffle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ligershark/side-waffle/teams","hooks_url":"https://api.github.com/repos/ligershark/side-waffle/hooks","issue_events_url":"https://api.github.com/repos/ligershark/side-waffle/issues/events{/number}","events_url":"https://api.github.com/repos/ligershark/side-waffle/events","assignees_url":"https://api.github.com/repos/ligershark/side-waffle/assignees{/user}","branches_url":"https://api.github.com/repos/ligershark/side-waffle/branches{/branch}","tags_url":"https://api.github.com/repos/ligershark/side-waffle/tags","blobs_url":"https://api.github.com/repos/ligershark/side-waffle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ligershark/side-waffle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ligershark/side-waffle/git/refs{/sha}","trees_url":"https://api.github.com/repos/ligershark/side-waffle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ligershark/side-waffle/statuses/{sha}","languages_url":"https://api.github.com/repos/ligershark/side-waffle/languages","stargazers_url":"https://api.github.com/repos/ligershark/side-waffle/stargazers","contributors_url":"https://api.github.com/repos/ligershark/side-waffle/contributors","subscribers_url":"https://api.github.com/repos/ligershark/side-waffle/subscribers","subscription_url":"https://api.github.com/repos/ligershark/side-waffle/subscription","commits_url":"https://api.github.com/repos/ligershark/side-waffle/commits{/sha}","git_commits_url":"https://api.github.com/repos/ligershark/side-waffle/git/commits{/sha}","comments_url":"https://api.github.com/repos/ligershark/side-waffle/comments{/number}","issue_comment_url":"https://api.github.com/repos/ligershark/side-waffle/issues/comments{/number}","contents_url":"https://api.github.com/repos/ligershark/side-waffle/contents/{+path}","compare_url":"https://api.github.com/repos/ligershark/side-waffle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ligershark/side-waffle/merges","archive_url":"https://api.github.com/repos/ligershark/side-waffle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ligershark/side-waffle/downloads","issues_url":"https://api.github.com/repos/ligershark/side-waffle/issues{/number}","pulls_url":"https://api.github.com/repos/ligershark/side-waffle/pulls{/number}","milestones_url":"https://api.github.com/repos/ligershark/side-waffle/milestones{/number}","notifications_url":"https://api.github.com/repos/ligershark/side-waffle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ligershark/side-waffle/labels{/name}","releases_url":"https://api.github.com/repos/ligershark/side-waffle/releases{/id}","created_at":"2013-08-09T15:39:52Z","updated_at":"2015-04-04T04:54:39Z","pushed_at":"2015-04-04T05:30:06Z","git_url":"git://github.com/ligershark/side-waffle.git","ssh_url":"git@github.com:ligershark/side-waffle.git","clone_url":"https://github.com/ligershark/side-waffle.git","svn_url":"https://github.com/ligershark/side-waffle","homepage":null,"size":16885,"stargazers_count":355,"watchers_count":355,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":173,"mirror_url":null,"open_issues_count":25,"forks":173,"open_issues":25,"watchers":355,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ligershark/side-waffle/pulls/245"},"html":{"href":"https://github.com/ligershark/side-waffle/pull/245"},"issue":{"href":"https://api.github.com/repos/ligershark/side-waffle/issues/245"},"comments":{"href":"https://api.github.com/repos/ligershark/side-waffle/issues/245/comments"},"review_comments":{"href":"https://api.github.com/repos/ligershark/side-waffle/pulls/245/comments"},"review_comment":{"href":"https://api.github.com/repos/ligershark/side-waffle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ligershark/side-waffle/pulls/245/commits"},"statuses":{"href":"https://api.github.com/repos/ligershark/side-waffle/statuses/25614d16f2163f10043c46b09d72920c71c37122"}}}}