Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #119 from vxfield/xfield/fix-list-sdks2
This PR supersedes #117. It contains some improvements to #79 (Return all installed DotNetSDK). Fix console output event handling Problem: if the "dotnet --info" process runs faster and completes before we subscribe to the output events we loose its output. And we also were checking if the process completes successfully before this line we were existing without the actual list of SDKs. Fixes: Subscribe to output events before starting the process Don't exit if the process has already finished Fix to not require the base path to be present to return the full list of SDKs Problem: the base path is not returned by "dotnet --info" if the required version (from global.json) is not found. Still, we could return the list of installed SDKs and let the caller method to decide whether or not to use the available SDKs. Fix: if the base path is found return it, otherwise proceed to list the installed SDKs
- Loading branch information