{"action":"created","issue":{"url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/508","repository_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode","labels_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/508/labels{/name}","comments_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/508/comments","events_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/508/events","html_url":"https://github.com/OmniSharp/omnisharp-vscode/issues/508","id":163085504,"number":508,"title":"Add detection if 'dotnet' is not on the path on RHEL","user":{"login":"gregg-miskelly","id":11078489,"avatar_url":"https://avatars.githubusercontent.com/u/11078489?v=3","gravatar_id":"","url":"https://api.github.com/users/gregg-miskelly","html_url":"https://github.com/gregg-miskelly","followers_url":"https://api.github.com/users/gregg-miskelly/followers","following_url":"https://api.github.com/users/gregg-miskelly/following{/other_user}","gists_url":"https://api.github.com/users/gregg-miskelly/gists{/gist_id}","starred_url":"https://api.github.com/users/gregg-miskelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregg-miskelly/subscriptions","organizations_url":"https://api.github.com/users/gregg-miskelly/orgs","repos_url":"https://api.github.com/users/gregg-miskelly/repos","events_url":"https://api.github.com/users/gregg-miskelly/events{/privacy}","received_events_url":"https://api.github.com/users/gregg-miskelly/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/labels/Feature%20Request","name":"Feature Request","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-30T05:44:06Z","updated_at":"2016-07-05T16:26:28Z","closed_at":null,"body":"## Steps to reproduce\r\n\r\nMachine: Red Hat Enterprise Linux 7.2\r\n\r\n1. Follow instructions on https://github.com/Microsoft/MIEngine/wiki/Logging#using-shipping-bits to install the CLI\r\n2. Install VS Code\r\n3. Install the C# extension\r\n\r\n## Expected  behavior\r\nDebugger should restore, projects should build, OmniSharp should be able to run dotnet restore, etc.\r\n\r\n## Actual behavior\r\nNone of these work because 'dotnet' isn't on PATH\r\n\r\n## Work around\r\nLaunch VS Code from the .NET environment with:\r\n\r\n    scl-enable rh-dotnetcore10 code\r\n"},"comment":{"url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/comments/230529231","html_url":"https://github.com/OmniSharp/omnisharp-vscode/issues/508#issuecomment-230529231","issue_url":"https://api.github.com/repos/OmniSharp/omnisharp-vscode/issues/508","id":230529231,"user":{"login":"gregg-miskelly","id":11078489,"avatar_url":"https://avatars.githubusercontent.com/u/11078489?v=3","gravatar_id":"","url":"https://api.github.com/users/gregg-miskelly","html_url":"https://github.com/gregg-miskelly","followers_url":"https://api.github.com/users/gregg-miskelly/followers","following_url":"https://api.github.com/users/gregg-miskelly/following{/other_user}","gists_url":"https://api.github.com/users/gregg-miskelly/gists{/gist_id}","starred_url":"https://api.github.com/users/gregg-miskelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregg-miskelly/subscriptions","organizations_url":"https://api.github.com/users/gregg-miskelly/orgs","repos_url":"https://api.github.com/users/gregg-miskelly/repos","events_url":"https://api.github.com/users/gregg-miskelly/events{/privacy}","received_events_url":"https://api.github.com/users/gregg-miskelly/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T16:26:27Z","updated_at":"2016-07-05T16:26:27Z","body":"Thanks @omajid \r\n\r\nI removed those work arounds from the original list (they are listed here in case someone wants to understand what your comment referred to in the future).\r\n\r\n#### Old work arounds (**not** recommended)\r\n2: setpath.sh\r\nAdd a setpath.sh script to /etc/profile.d directory with the contents: `export PATH=$PATH:<path-to-directory-containing-dotnet>`. Make it executable (i.e. chmod 777). Log out and log back in and dotnet is now always on the path.\r\n\r\n3: Create a symlink to dotnet from a directory on PATH"}}
{"actor":{"display_login":"gregg-miskelly"}}