{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Home/issues/449","labels_url":"https://api.github.com/repos/aspnet/Home/issues/449/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Home/issues/449/comments","events_url":"https://api.github.com/repos/aspnet/Home/issues/449/events","html_url":"https://github.com/aspnet/Home/issues/449","id":68095955,"number":449,"title":"How to override the compiler with a custom compiler shipped in a NuGet package","user":{"login":"gfraiteur","id":951549,"avatar_url":"https://avatars.githubusercontent.com/u/951549?v=3","gravatar_id":"","url":"https://api.github.com/users/gfraiteur","html_url":"https://github.com/gfraiteur","followers_url":"https://api.github.com/users/gfraiteur/followers","following_url":"https://api.github.com/users/gfraiteur/following{/other_user}","gists_url":"https://api.github.com/users/gfraiteur/gists{/gist_id}","starred_url":"https://api.github.com/users/gfraiteur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfraiteur/subscriptions","organizations_url":"https://api.github.com/users/gfraiteur/orgs","repos_url":"https://api.github.com/users/gfraiteur/repos","events_url":"https://api.github.com/users/gfraiteur/events{/privacy}","received_events_url":"https://api.github.com/users/gfraiteur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-13T13:26:23Z","updated_at":"2015-04-14T07:57:31Z","closed_at":null,"body":"I would like to integrate PostSharp with DNX. PostSharp needs to post-process the output of the Roslyn compiler.\r\n\r\nI'm trying to override the default project compiler by adding this to `project.json`:\r\n\r\n```json\r\n \"compiler\" : {\r\n        \"name\" : \"C#-PostSharp\", \r\n        \"compilerAssembly\" : \"PostSharp.Dnx\",\r\n        \"compilerType\" : \"PostSharp.Dnx.PostSharpProjectCompiler\"\r\n    }\r\n```\r\n\r\nwhere PostSharp.Dnx is a NuGet package.\r\n\r\nThe problem is that the PostSharp.Dnx assembly cannot be found. The LoadContext into which the assembly is loaded is empty, so only the `dnx\\bin` directory is being scanned.\r\n\r\nHow can I use a custom compiler shipped in a NuGet package?\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/aspnet/Home/issues/comments/92681560","html_url":"https://github.com/aspnet/Home/issues/449#issuecomment-92681560","issue_url":"https://api.github.com/repos/aspnet/Home/issues/449","id":92681560,"user":{"login":"davidfowl","id":95136,"avatar_url":"https://avatars.githubusercontent.com/u/95136?v=3","gravatar_id":"","url":"https://api.github.com/users/davidfowl","html_url":"https://github.com/davidfowl","followers_url":"https://api.github.com/users/davidfowl/followers","following_url":"https://api.github.com/users/davidfowl/following{/other_user}","gists_url":"https://api.github.com/users/davidfowl/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfowl/subscriptions","organizations_url":"https://api.github.com/users/davidfowl/orgs","repos_url":"https://api.github.com/users/davidfowl/repos","events_url":"https://api.github.com/users/davidfowl/events{/privacy}","received_events_url":"https://api.github.com/users/davidfowl/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T07:57:31Z","updated_at":"2015-04-14T07:57:31Z","body":"@gfraiteur We're looking at that, having them be in nuget packages purely. Though questions like order of operations always come up. It'll be interesting to see if we end with letting you override that with source."}}