{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/560","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/560/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/560/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/560/events","html_url":"https://github.com/dotnet/roslyn/issues/560","id":57868967,"number":560,"title":"OpenSolutionAsync doesn't get include all Facade references needed to compile a project","user":{"login":"garbervetsky","id":10427428,"avatar_url":"https://avatars.githubusercontent.com/u/10427428?v=3","gravatar_id":"","url":"https://api.github.com/users/garbervetsky","html_url":"https://github.com/garbervetsky","followers_url":"https://api.github.com/users/garbervetsky/followers","following_url":"https://api.github.com/users/garbervetsky/following{/other_user}","gists_url":"https://api.github.com/users/garbervetsky/gists{/gist_id}","starred_url":"https://api.github.com/users/garbervetsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbervetsky/subscriptions","organizations_url":"https://api.github.com/users/garbervetsky/orgs","repos_url":"https://api.github.com/users/garbervetsky/repos","events_url":"https://api.github.com/users/garbervetsky/events{/privacy}","received_events_url":"https://api.github.com/users/garbervetsky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-IDE","name":"Area-IDE","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"Pilchie","id":312835,"avatar_url":"https://avatars.githubusercontent.com/u/312835?v=3","gravatar_id":"","url":"https://api.github.com/users/Pilchie","html_url":"https://github.com/Pilchie","followers_url":"https://api.github.com/users/Pilchie/followers","following_url":"https://api.github.com/users/Pilchie/following{/other_user}","gists_url":"https://api.github.com/users/Pilchie/gists{/gist_id}","starred_url":"https://api.github.com/users/Pilchie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pilchie/subscriptions","organizations_url":"https://api.github.com/users/Pilchie/orgs","repos_url":"https://api.github.com/users/Pilchie/repos","events_url":"https://api.github.com/users/Pilchie/events{/privacy}","received_events_url":"https://api.github.com/users/Pilchie/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/1","html_url":"https://github.com/dotnet/roslyn/milestones/1.0%20(stable)","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/1/labels","id":937397,"number":1,"title":"1.0 (stable)","description":"This is our 1.0 Milestone. ","creator":{"login":"jaredpar","id":146967,"avatar_url":"https://avatars.githubusercontent.com/u/146967?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredpar","html_url":"https://github.com/jaredpar","followers_url":"https://api.github.com/users/jaredpar/followers","following_url":"https://api.github.com/users/jaredpar/following{/other_user}","gists_url":"https://api.github.com/users/jaredpar/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredpar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredpar/subscriptions","organizations_url":"https://api.github.com/users/jaredpar/orgs","repos_url":"https://api.github.com/users/jaredpar/repos","events_url":"https://api.github.com/users/jaredpar/events{/privacy}","received_events_url":"https://api.github.com/users/jaredpar/received_events","type":"User","site_admin":false},"open_issues":162,"closed_issues":260,"state":"open","created_at":"2015-01-15T20:45:24Z","updated_at":"2015-04-30T00:38:01Z","due_on":null,"closed_at":null},"comments":21,"created_at":"2015-02-17T00:37:15Z","updated_at":"2015-04-30T01:51:00Z","closed_at":null,"body":"We try to get a compilation from a project loaded using OpenSolutionAsync, it fails reporting that some references are missing.\r\n\r\n            var ws = MSBuildWorkspace.Create();\r\n            var solution = ws.OpenSolutionAsync(path).Result;\r\n\r\nExample: \r\n\r\n\r\n\r\n            string pathToDll = @\"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5.2\\Facades\\\";\r\n            var metadataReferences = new string[] { \r\n                    \"System.Runtime.dll\", \r\n                    \"System.Threading.Tasks.dll\", \r\n                    \"System.Reflection.dll\",\r\n                    \"System.Text.Encoding.dll\"}.Select(s => MetadataReference.CreateFromFile(pathToDll + s));\r\n            solution = solution.AddMetadataReferences(solution.ProjectIds.First(), metadataReferences);\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/97631915","html_url":"https://github.com/dotnet/roslyn/issues/560#issuecomment-97631915","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/560","id":97631915,"user":{"login":"Pilchie","id":312835,"avatar_url":"https://avatars.githubusercontent.com/u/312835?v=3","gravatar_id":"","url":"https://api.github.com/users/Pilchie","html_url":"https://github.com/Pilchie","followers_url":"https://api.github.com/users/Pilchie/followers","following_url":"https://api.github.com/users/Pilchie/following{/other_user}","gists_url":"https://api.github.com/users/Pilchie/gists{/gist_id}","starred_url":"https://api.github.com/users/Pilchie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pilchie/subscriptions","organizations_url":"https://api.github.com/users/Pilchie/orgs","repos_url":"https://api.github.com/users/Pilchie/repos","events_url":"https://api.github.com/users/Pilchie/events{/privacy}","received_events_url":"https://api.github.com/users/Pilchie/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T01:51:00Z","updated_at":"2015-04-30T01:51:00Z","body":"This has been fixed by a change to MSBuild targets and the `ResolveAssemblyReferences` task.  Note that the fix is NOT part of VS2015 RC, so you'll need to continue to use the workaround until the next release."}}