{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/4261","repository_url":"https://api.github.com/repos/aspnet/Mvc","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/4261/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/4261/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/4261/events","html_url":"https://github.com/aspnet/Mvc/pull/4261","id":139720329,"number":4261,"title":"RazorCompilationService should throw a meaningful error when a user p…","user":{"login":"pranavkm","id":174281,"avatar_url":"https://avatars.githubusercontent.com/u/174281?v=3","gravatar_id":"","url":"https://api.github.com/users/pranavkm","html_url":"https://github.com/pranavkm","followers_url":"https://api.github.com/users/pranavkm/followers","following_url":"https://api.github.com/users/pranavkm/following{/other_user}","gists_url":"https://api.github.com/users/pranavkm/gists{/gist_id}","starred_url":"https://api.github.com/users/pranavkm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranavkm/subscriptions","organizations_url":"https://api.github.com/users/pranavkm/orgs","repos_url":"https://api.github.com/users/pranavkm/repos","events_url":"https://api.github.com/users/pranavkm/events{/privacy}","received_events_url":"https://api.github.com/users/pranavkm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Mvc/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-03-09T22:28:04Z","updated_at":"2016-03-10T02:05:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aspnet/Mvc/pulls/4261","html_url":"https://github.com/aspnet/Mvc/pull/4261","diff_url":"https://github.com/aspnet/Mvc/pull/4261.diff","patch_url":"https://github.com/aspnet/Mvc/pull/4261.patch"},"body":"…roduces an application without `preserveCompilationContext`\r\n\r\nFixes #4202"},"comment":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/comments/194618602","html_url":"https://github.com/aspnet/Mvc/pull/4261#issuecomment-194618602","issue_url":"https://api.github.com/repos/aspnet/Mvc/issues/4261","id":194618602,"user":{"login":"pranavkm","id":174281,"avatar_url":"https://avatars.githubusercontent.com/u/174281?v=3","gravatar_id":"","url":"https://api.github.com/users/pranavkm","html_url":"https://github.com/pranavkm","followers_url":"https://api.github.com/users/pranavkm/followers","following_url":"https://api.github.com/users/pranavkm/following{/other_user}","gists_url":"https://api.github.com/users/pranavkm/gists{/gist_id}","starred_url":"https://api.github.com/users/pranavkm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranavkm/subscriptions","organizations_url":"https://api.github.com/users/pranavkm/orgs","repos_url":"https://api.github.com/users/pranavkm/repos","events_url":"https://api.github.com/users/pranavkm/events{/privacy}","received_events_url":"https://api.github.com/users/pranavkm/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T02:05:39Z","updated_at":"2016-03-10T02:05:39Z","body":"Ok. I'll leave the assembly provider unchanged. But it does look like for an app running via `dotnet run` you're guaranteed to have a non-null `DependencyContext`. Checking for null `DependencyContext` almost never works. I'll change the conditional a bit."}}