You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question on if you'd be open to changes to AssertWslSupported or more likely an entirely new method(s)? I feel it could be useful to know why WSL is not supported on a system, e.g. supported but not installed versus not supported at all?
Right now, I have to catch PlatformNotSupportedException to know if the system does not support WSL at all and a NotSupportedException to know if the system supports it but it is just not installed. It feels a little hacky to depend on internal implementation details like that (though if this was a design choice, that is good to know also and maybe catching those exceptions is an OK approach).
I'd be willing to create a PR to add a new method that returns some kind of status enum or possibly a set of new methods, one to detect if WSL is supported and one to check if WSL is installed.
Let me know your thoughts!
The text was updated successfully, but these errors were encountered:
Hello and thank you for this library!
Question on if you'd be open to changes to
AssertWslSupported
or more likely an entirely new method(s)? I feel it could be useful to know why WSL is not supported on a system, e.g. supported but not installed versus not supported at all?Right now, I have to catch
PlatformNotSupportedException
to know if the system does not support WSL at all and aNotSupportedException
to know if the system supports it but it is just not installed. It feels a little hacky to depend on internal implementation details like that (though if this was a design choice, that is good to know also and maybe catching those exceptions is an OK approach).I'd be willing to create a PR to add a new method that returns some kind of status
enum
or possibly a set of new methods, one to detect if WSL is supported and one to check if WSL is installed.Let me know your thoughts!
The text was updated successfully, but these errors were encountered: