{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/RazorTooling/issues/30","labels_url":"https://api.github.com/repos/aspnet/RazorTooling/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/RazorTooling/issues/30/comments","events_url":"https://api.github.com/repos/aspnet/RazorTooling/issues/30/events","html_url":"https://github.com/aspnet/RazorTooling/issues/30","id":112661728,"number":30,"title":"Refactor code to enable testing on CoreCLR","user":{"login":"cesarbs","id":924164,"avatar_url":"https://avatars.githubusercontent.com/u/924164?v=3","gravatar_id":"","url":"https://api.github.com/users/cesarbs","html_url":"https://github.com/cesarbs","followers_url":"https://api.github.com/users/cesarbs/followers","following_url":"https://api.github.com/users/cesarbs/following{/other_user}","gists_url":"https://api.github.com/users/cesarbs/gists{/gist_id}","starred_url":"https://api.github.com/users/cesarbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesarbs/subscriptions","organizations_url":"https://api.github.com/users/cesarbs/orgs","repos_url":"https://api.github.com/users/cesarbs/repos","events_url":"https://api.github.com/users/cesarbs/events{/privacy}","received_events_url":"https://api.github.com/users/cesarbs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-21T19:26:54Z","updated_at":"2015-10-21T19:26:54Z","closed_at":null,"body":"Add this to project.json:\r\n\r\n    \"dnxcore50\": {\r\n      \"dependencies\": {\r\n        \"System.Dynamic.Runtime\": \"4.0.11-beta-*\"\r\n      }\r\n    }\r\n\r\nTwo code changes are necessary:\r\n\r\n* Use Type.GetTypeInfo().Assembly instead of Type.Assembly.\r\n* It is not possible to subclass Assembly in CoreCLR. Change the code to use an interface instead of direcly using Assembly objects.\r\n\r\nThis is related to https://github.com/aspnet/Universe/issues/304."}}