Is your feature request related to a problem? Please describe.
I would like to bundle the NuGet package Microsoft.WSL.Containers in my program that may run on older Windows that does not support WSLC.
The purpose is to offer container functionality if available and if not the program will still work as today.
I would like to detect WSL compatibility even on unsupported versions of Windows.
Describe the solution you'd like
-
Reduce requirement to net8.0 (without -windows...) (or net10.0)
-
Add a new ComponentFlag.Windows10 or use an existing flag to indicate WSL is missing.
//Running on unsupported Windows
var missing = WslcService.GetMissingComponents();
missing == ComponentFlag.Windows10
Describe alternatives you've considered
Build a secondary exe with the target framework net10.0-windows10.0.26100.0 called from the main exe with target framework net10.0.
Any operation will then require communication between the two processes.
Is your feature request related to a problem? Please describe.
I would like to bundle the NuGet package
Microsoft.WSL.Containersin my program that may run on older Windows that does not support WSLC.The purpose is to offer container functionality if available and if not the program will still work as today.
I would like to detect WSL compatibility even on unsupported versions of Windows.
Describe the solution you'd like
Reduce requirement to net8.0 (without -windows...) (or net10.0)
Add a new
ComponentFlag.Windows10or use an existing flag to indicate WSL is missing.//Running on unsupported Windows
var missing = WslcService.GetMissingComponents();
missing == ComponentFlag.Windows10
Describe alternatives you've considered
Build a secondary exe with the target framework net10.0-windows10.0.26100.0 called from the main exe with target framework net10.0.
Any operation will then require communication between the two processes.