{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/392","labels_url":"https://api.github.com/repos/dotnet/cli/issues/392/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/392/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/392/events","html_url":"https://github.com/dotnet/cli/issues/392","id":120232091,"number":392,"title":"Provide an option to preserve compilation graph during compile","user":{"login":"anurse","id":7574,"avatar_url":"https://avatars.githubusercontent.com/u/7574?v=3","gravatar_id":"","url":"https://api.github.com/users/anurse","html_url":"https://github.com/anurse","followers_url":"https://api.github.com/users/anurse/followers","following_url":"https://api.github.com/users/anurse/following{/other_user}","gists_url":"https://api.github.com/users/anurse/gists{/gist_id}","starred_url":"https://api.github.com/users/anurse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anurse/subscriptions","organizations_url":"https://api.github.com/users/anurse/orgs","repos_url":"https://api.github.com/users/anurse/repos","events_url":"https://api.github.com/users/anurse/events{/privacy}","received_events_url":"https://api.github.com/users/anurse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/dotnet/cli/milestones/6","html_url":"https://github.com/dotnet/cli/milestones/Beta-Jan","labels_url":"https://api.github.com/repos/dotnet/cli/milestones/6/labels","id":1411110,"number":6,"title":"Beta-Jan","description":"","creator":{"login":"Petermarcu","id":8228359,"avatar_url":"https://avatars.githubusercontent.com/u/8228359?v=3","gravatar_id":"","url":"https://api.github.com/users/Petermarcu","html_url":"https://github.com/Petermarcu","followers_url":"https://api.github.com/users/Petermarcu/followers","following_url":"https://api.github.com/users/Petermarcu/following{/other_user}","gists_url":"https://api.github.com/users/Petermarcu/gists{/gist_id}","starred_url":"https://api.github.com/users/Petermarcu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Petermarcu/subscriptions","organizations_url":"https://api.github.com/users/Petermarcu/orgs","repos_url":"https://api.github.com/users/Petermarcu/repos","events_url":"https://api.github.com/users/Petermarcu/events{/privacy}","received_events_url":"https://api.github.com/users/Petermarcu/received_events","type":"User","site_admin":false},"open_issues":42,"closed_issues":16,"state":"open","created_at":"2015-11-13T21:27:13Z","updated_at":"2015-12-03T17:59:37Z","due_on":"2016-01-16T08:00:00Z","closed_at":null},"comments":2,"created_at":"2015-12-03T17:56:47Z","updated_at":"2015-12-03T20:00:29Z","closed_at":null,"body":"Much like we preserve the runtime graph during compile via the `deps` file, and in order to support things like Razor dynamic compilation, we need to provide a mechanism to preserve the package graph used for compilation.\r\n\r\nThis will be disabled by default, since it increases the metadata in the output, and enabled via a boolean project.json property `preserveCompilationContext` (name?). When this property is set to true, the compilation graph will be included in the `deps` file. Since the shared host already filters down to nodes in the deps file with a `runtime` type, this will not affect the shared host. Managed code will be able to load the deps file and use it to reconstruct the compilation graph in order to allow dynamic compilation using the same references as the original project.\r\n\r\nThis is needed to fully port ASP.NET MVC from `dnx` to `dotnet`\r\n\r\n/cc @pakrym @davidfowl "},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/161766508","html_url":"https://github.com/dotnet/cli/issues/392#issuecomment-161766508","issue_url":"https://api.github.com/repos/dotnet/cli/issues/392","id":161766508,"user":{"login":"brthor","id":14280892,"avatar_url":"https://avatars.githubusercontent.com/u/14280892?v=3","gravatar_id":"","url":"https://api.github.com/users/brthor","html_url":"https://github.com/brthor","followers_url":"https://api.github.com/users/brthor/followers","following_url":"https://api.github.com/users/brthor/following{/other_user}","gists_url":"https://api.github.com/users/brthor/gists{/gist_id}","starred_url":"https://api.github.com/users/brthor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brthor/subscriptions","organizations_url":"https://api.github.com/users/brthor/orgs","repos_url":"https://api.github.com/users/brthor/repos","events_url":"https://api.github.com/users/brthor/events{/privacy}","received_events_url":"https://api.github.com/users/brthor/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T20:00:29Z","updated_at":"2015-12-03T20:00:29Z","body":"Is this putting the reference assemblies in the deps file or something else entirely? Trying to understand what the compilation graph is."}}