{"action":"created","comment":{"url":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/comments/26548624","id":26548624,"diff_hunk":"@@ -1,88 +1,87 @@\n ﻿using System;\n using System.Collections.Generic;\n-using System.Diagnostics;\n using System.IO;\n+using System.Linq;\n using System.Reflection;\n using System.Windows;\n using Autodesk.Revit.Attributes;\n using Autodesk.Revit.DB;\n using Autodesk.Revit.UI;\n \n+using DynamoRevitVersionSelector;\n+using DynamoRevitVersionSelector.Properties;\n+\n+using DynamoVersionSelector.Utilities;\n+\n+\n namespace Dynamo.Applications\n {\n     [Transaction(TransactionMode.Automatic)]\n     [Regeneration(RegenerationOption.Manual)]\n     public class VersionLoader : IExternalApplication\n     {\n-        internal static string BasePath = @\"C:\\Autodesk\\Dynamo\\Core\";\n-        internal static string BetaPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);\n+        public static List<IInstalledProduct> Products { get; private set; }","path":"src/Legacy/DynamoRevitVersionSelector/VersionSelectorApp.cs","position":26,"original_position":26,"commit_id":"bb8ddd697d2418d7a206889e5129e74a74947723","original_commit_id":"bb8ddd697d2418d7a206889e5129e74a74947723","user":{"login":"aparajit-pratap","id":5710686,"avatar_url":"https://avatars.githubusercontent.com/u/5710686?v=3","gravatar_id":"","url":"https://api.github.com/users/aparajit-pratap","html_url":"https://github.com/aparajit-pratap","followers_url":"https://api.github.com/users/aparajit-pratap/followers","following_url":"https://api.github.com/users/aparajit-pratap/following{/other_user}","gists_url":"https://api.github.com/users/aparajit-pratap/gists{/gist_id}","starred_url":"https://api.github.com/users/aparajit-pratap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aparajit-pratap/subscriptions","organizations_url":"https://api.github.com/users/aparajit-pratap/orgs","repos_url":"https://api.github.com/users/aparajit-pratap/repos","events_url":"https://api.github.com/users/aparajit-pratap/events{/privacy}","received_events_url":"https://api.github.com/users/aparajit-pratap/received_events","type":"User","site_admin":false},"body":"This can be declared `IEnumerable`?","created_at":"2015-03-17T04:24:52Z","updated_at":"2015-03-17T04:24:52Z","html_url":"https://github.com/DynamoDS/DynamoRevit/pull/248#discussion_r26548624","pull_request_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/248","_links":{"self":{"href":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/comments/26548624"},"html":{"href":"https://github.com/DynamoDS/DynamoRevit/pull/248#discussion_r26548624"},"pull_request":{"href":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/248"}}},"pull_request":{"url":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/248","id":31202208,"html_url":"https://github.com/DynamoDS/DynamoRevit/pull/248","diff_url":"https://github.com/DynamoDS/DynamoRevit/pull/248.diff","patch_url":"https://github.com/DynamoDS/DynamoRevit/pull/248.patch","issue_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues/248","number":248,"state":"open","locked":false,"title":"Version Selector support for all Dynamo installs","user":{"login":"sharadkjaiswal","id":1754137,"avatar_url":"https://avatars.githubusercontent.com/u/1754137?v=3","gravatar_id":"","url":"https://api.github.com/users/sharadkjaiswal","html_url":"https://github.com/sharadkjaiswal","followers_url":"https://api.github.com/users/sharadkjaiswal/followers","following_url":"https://api.github.com/users/sharadkjaiswal/following{/other_user}","gists_url":"https://api.github.com/users/sharadkjaiswal/gists{/gist_id}","starred_url":"https://api.github.com/users/sharadkjaiswal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharadkjaiswal/subscriptions","organizations_url":"https://api.github.com/users/sharadkjaiswal/orgs","repos_url":"https://api.github.com/users/sharadkjaiswal/repos","events_url":"https://api.github.com/users/sharadkjaiswal/events{/privacy}","received_events_url":"https://api.github.com/users/sharadkjaiswal/received_events","type":"User","site_admin":false},"body":"- To support side-by-side install of Dynamo  we need to ensure that\r\nversion selector can pick all the installed versions.\r\n- Implemented Dynamo product lookup to find all installed Dynamo on the\r\nsystem.\r\n- Used Split button to show available Dynamo versions as drop down.\r\n- UI strings and messages are extracted to resource files so that it can\r\nbe localized.\r\n- Dynamo version on Ribbon is shown by looking at the version info of\r\nDynamoRevit.dll\r\n\r\n**Reviewers:**\r\n- [ ] @ikeough \r\n- [ ] @aparajit-pratap ","created_at":"2015-03-15T15:53:34Z","updated_at":"2015-03-17T04:24:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8e74df3c625878ee2689c1e5c5afcf939004940","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/248/commits","review_comments_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/248/comments","review_comment_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues/248/comments","statuses_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/statuses/bb8ddd697d2418d7a206889e5129e74a74947723","head":{"label":"Conceptual-Design:Revit2014","ref":"Revit2014","sha":"bb8ddd697d2418d7a206889e5129e74a74947723","user":{"login":"Conceptual-Design","id":1738955,"avatar_url":"https://avatars.githubusercontent.com/u/1738955?v=3","gravatar_id":"","url":"https://api.github.com/users/Conceptual-Design","html_url":"https://github.com/Conceptual-Design","followers_url":"https://api.github.com/users/Conceptual-Design/followers","following_url":"https://api.github.com/users/Conceptual-Design/following{/other_user}","gists_url":"https://api.github.com/users/Conceptual-Design/gists{/gist_id}","starred_url":"https://api.github.com/users/Conceptual-Design/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Conceptual-Design/subscriptions","organizations_url":"https://api.github.com/users/Conceptual-Design/orgs","repos_url":"https://api.github.com/users/Conceptual-Design/repos","events_url":"https://api.github.com/users/Conceptual-Design/events{/privacy}","received_events_url":"https://api.github.com/users/Conceptual-Design/received_events","type":"Organization","site_admin":false},"repo":{"id":25964048,"name":"DynamoRevit","full_name":"Conceptual-Design/DynamoRevit","owner":{"login":"Conceptual-Design","id":1738955,"avatar_url":"https://avatars.githubusercontent.com/u/1738955?v=3","gravatar_id":"","url":"https://api.github.com/users/Conceptual-Design","html_url":"https://github.com/Conceptual-Design","followers_url":"https://api.github.com/users/Conceptual-Design/followers","following_url":"https://api.github.com/users/Conceptual-Design/following{/other_user}","gists_url":"https://api.github.com/users/Conceptual-Design/gists{/gist_id}","starred_url":"https://api.github.com/users/Conceptual-Design/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Conceptual-Design/subscriptions","organizations_url":"https://api.github.com/users/Conceptual-Design/orgs","repos_url":"https://api.github.com/users/Conceptual-Design/repos","events_url":"https://api.github.com/users/Conceptual-Design/events{/privacy}","received_events_url":"https://api.github.com/users/Conceptual-Design/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Conceptual-Design/DynamoRevit","description":"Dynamo libaries and ExternalApplication implementation for Revit.","fork":true,"url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit","forks_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/forks","keys_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/teams","hooks_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/hooks","issue_events_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/issues/events{/number}","events_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/events","assignees_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/assignees{/user}","branches_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/branches{/branch}","tags_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/tags","blobs_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/git/refs{/sha}","trees_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/statuses/{sha}","languages_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/languages","stargazers_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/stargazers","contributors_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/contributors","subscribers_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/subscribers","subscription_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/subscription","commits_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/commits{/sha}","git_commits_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/git/commits{/sha}","comments_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/comments{/number}","issue_comment_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/issues/comments{/number}","contents_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/contents/{+path}","compare_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/merges","archive_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/downloads","issues_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/issues{/number}","pulls_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/pulls{/number}","milestones_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/milestones{/number}","notifications_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/labels{/name}","releases_url":"https://api.github.com/repos/Conceptual-Design/DynamoRevit/releases{/id}","created_at":"2014-10-30T09:38:55Z","updated_at":"2014-11-03T05:53:27Z","pushed_at":"2015-03-16T10:31:13Z","git_url":"git://github.com/Conceptual-Design/DynamoRevit.git","ssh_url":"git@github.com:Conceptual-Design/DynamoRevit.git","clone_url":"https://github.com/Conceptual-Design/DynamoRevit.git","svn_url":"https://github.com/Conceptual-Design/DynamoRevit","homepage":null,"size":180621,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"DynamoDS:Revit2014","ref":"Revit2014","sha":"d2ba7e583bf2bdd72c04c8e74bee0bf8854b4c72","user":{"login":"DynamoDS","id":6528209,"avatar_url":"https://avatars.githubusercontent.com/u/6528209?v=3","gravatar_id":"","url":"https://api.github.com/users/DynamoDS","html_url":"https://github.com/DynamoDS","followers_url":"https://api.github.com/users/DynamoDS/followers","following_url":"https://api.github.com/users/DynamoDS/following{/other_user}","gists_url":"https://api.github.com/users/DynamoDS/gists{/gist_id}","starred_url":"https://api.github.com/users/DynamoDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DynamoDS/subscriptions","organizations_url":"https://api.github.com/users/DynamoDS/orgs","repos_url":"https://api.github.com/users/DynamoDS/repos","events_url":"https://api.github.com/users/DynamoDS/events{/privacy}","received_events_url":"https://api.github.com/users/DynamoDS/received_events","type":"Organization","site_admin":false},"repo":{"id":22768182,"name":"DynamoRevit","full_name":"DynamoDS/DynamoRevit","owner":{"login":"DynamoDS","id":6528209,"avatar_url":"https://avatars.githubusercontent.com/u/6528209?v=3","gravatar_id":"","url":"https://api.github.com/users/DynamoDS","html_url":"https://github.com/DynamoDS","followers_url":"https://api.github.com/users/DynamoDS/followers","following_url":"https://api.github.com/users/DynamoDS/following{/other_user}","gists_url":"https://api.github.com/users/DynamoDS/gists{/gist_id}","starred_url":"https://api.github.com/users/DynamoDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DynamoDS/subscriptions","organizations_url":"https://api.github.com/users/DynamoDS/orgs","repos_url":"https://api.github.com/users/DynamoDS/repos","events_url":"https://api.github.com/users/DynamoDS/events{/privacy}","received_events_url":"https://api.github.com/users/DynamoDS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DynamoDS/DynamoRevit","description":"Dynamo Libraries for Revit","fork":false,"url":"https://api.github.com/repos/DynamoDS/DynamoRevit","forks_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/forks","keys_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/teams","hooks_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/hooks","issue_events_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues/events{/number}","events_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/events","assignees_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/assignees{/user}","branches_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/branches{/branch}","tags_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/tags","blobs_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/git/refs{/sha}","trees_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/statuses/{sha}","languages_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/languages","stargazers_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/stargazers","contributors_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/contributors","subscribers_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/subscribers","subscription_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/subscription","commits_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/commits{/sha}","git_commits_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/git/commits{/sha}","comments_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/comments{/number}","issue_comment_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues/comments{/number}","contents_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/contents/{+path}","compare_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/merges","archive_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/downloads","issues_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues{/number}","pulls_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls{/number}","milestones_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/milestones{/number}","notifications_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/labels{/name}","releases_url":"https://api.github.com/repos/DynamoDS/DynamoRevit/releases{/id}","created_at":"2014-08-08T18:52:34Z","updated_at":"2015-03-16T22:51:42Z","pushed_at":"2015-03-17T03:27:10Z","git_url":"git://github.com/DynamoDS/DynamoRevit.git","ssh_url":"git@github.com:DynamoDS/DynamoRevit.git","clone_url":"https://github.com/DynamoDS/DynamoRevit.git","svn_url":"https://github.com/DynamoDS/DynamoRevit","homepage":"http://www.dynamobim.org","size":187618,"stargazers_count":6,"watchers_count":6,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":15,"forks":32,"open_issues":15,"watchers":6,"default_branch":"Revit2015"}},"_links":{"self":{"href":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/248"},"html":{"href":"https://github.com/DynamoDS/DynamoRevit/pull/248"},"issue":{"href":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues/248"},"comments":{"href":"https://api.github.com/repos/DynamoDS/DynamoRevit/issues/248/comments"},"review_comments":{"href":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/248/comments"},"review_comment":{"href":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DynamoDS/DynamoRevit/pulls/248/commits"},"statuses":{"href":"https://api.github.com/repos/DynamoDS/DynamoRevit/statuses/bb8ddd697d2418d7a206889e5129e74a74947723"}}}}