{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/14581","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/14581/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/14581/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/14581/events","html_url":"https://github.com/dotnet/roslyn/issues/14581","id":183612100,"number":14581,"title":"MSBuildWorkspace.OpenSolutionAsync(solutionPath).Result Exception while opening SignalR solution","user":{"login":"abhijitparkhi1983","id":7124615,"avatar_url":"https://avatars.githubusercontent.com/u/7124615?v=3","gravatar_id":"","url":"https://api.github.com/users/abhijitparkhi1983","html_url":"https://github.com/abhijitparkhi1983","followers_url":"https://api.github.com/users/abhijitparkhi1983/followers","following_url":"https://api.github.com/users/abhijitparkhi1983/following{/other_user}","gists_url":"https://api.github.com/users/abhijitparkhi1983/gists{/gist_id}","starred_url":"https://api.github.com/users/abhijitparkhi1983/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhijitparkhi1983/subscriptions","organizations_url":"https://api.github.com/users/abhijitparkhi1983/orgs","repos_url":"https://api.github.com/users/abhijitparkhi1983/repos","events_url":"https://api.github.com/users/abhijitparkhi1983/events{/privacy}","received_events_url":"https://api.github.com/users/abhijitparkhi1983/received_events","type":"User","site_admin":false},"labels":[{"id":166377917,"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-IDE","name":"Area-IDE","color":"5319e7","default":false},{"id":166417835,"url":"https://api.github.com/repos/dotnet/roslyn/labels/Concept-API","name":"Concept-API","color":"fef2c0","default":false},{"id":166677091,"url":"https://api.github.com/repos/dotnet/roslyn/labels/Feature%20Request","name":"Feature Request","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-18T07:43:12Z","updated_at":"2016-11-07T20:14:28Z","closed_at":null,"body":"**Version**: Latest Roslyn Version 1.3.2\n\n**Steps to Reproduce**:\n1. Run code : MSBuildWorkspace.OpenSolutionAsync(solutionPath).Result\n2. Here **solutionPath** is the path to the \"Microsoft.AspNet.SignalR.Mono.Mobile.sln\" solution which in itself is part of the SignalR source code repository from Git.\n3. Note: This is a mobile version of SignalR and the machine on which I am trying to run the above code has no prerequisites installed required for running a mobile/XAMRIN applications.\n\n**Actual Behavior**:\nWhen we execute about code the application throws following exception:\n**{\"The imported project \\\"C:\\Program Files (x86)\\MSBuild\\Microsoft\\WindowsPhone\\v8.0\\Microsoft.WindowsPhone.v8.0.Overrides.targets\\\" \nwas not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. \nC:\\\\SignalR\\samples\\Microsoft.AspNet.SignalR.Client.WP8.Samples\\Microsoft.AspNet.SignalR.Client.WP8.Samples.csproj\"}**\n\n**Expected Behavior**:\nI understand that this error is because the requires prerequisites is not installed but still the Expected Begavior should be such that instead of throwing the exception, the API OpenSolutionAsync should have some overloaded option which can suppress this error and still continue with loading other solution projects which are not dependent on these prerequisites.\n\n**Scenario I am working on**:\nI am trying to work with \"CSharpSyntaxWalker\" and using its Visitor's to visit each type of Visitor to create a Dependency Graph in the application.\n\n**Note**: \nThis utility in a long run will be sitting on some centralized server machine and will be generating Dependency Graph for all the C# applications organization wide. \nSo technically installing all the prerequisite for every other application on that centralized server wont be possible. \n\nIs there any existing solution to this problem ?\nLooking forward to hear from the experts.\n"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/258949254","html_url":"https://github.com/dotnet/roslyn/issues/14581#issuecomment-258949254","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/14581","id":258949254,"user":{"login":"mattwar","id":3387305,"avatar_url":"https://avatars.githubusercontent.com/u/3387305?v=3","gravatar_id":"","url":"https://api.github.com/users/mattwar","html_url":"https://github.com/mattwar","followers_url":"https://api.github.com/users/mattwar/followers","following_url":"https://api.github.com/users/mattwar/following{/other_user}","gists_url":"https://api.github.com/users/mattwar/gists{/gist_id}","starred_url":"https://api.github.com/users/mattwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattwar/subscriptions","organizations_url":"https://api.github.com/users/mattwar/orgs","repos_url":"https://api.github.com/users/mattwar/repos","events_url":"https://api.github.com/users/mattwar/events{/privacy}","received_events_url":"https://api.github.com/users/mattwar/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T20:14:28Z","updated_at":"2016-11-07T20:14:28Z","body":"It is possible that we could log the exception instead of letting it flow out.  "}}
{"actor":{"display_login":"mattwar"}}