mirror of
https://github.com/aphrody-labs/WSL.git
synced 2026-10-15 06:09:04 +00:00
* Update WSLC SDK API documentation Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Update docs * Update docs * Quick fixes --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Craig Loewen <crloewen@microsoft.com>
659 B
659 B
InstallOptions
Selects components for WslcService.InstallWithDependencies and controls repair behavior.
public sealed class InstallOptions
{
public InstallOptions();
public IReadOnlyList<Component> Components { get; set; }
public bool Repair { get; set; }
}
If Components is null, the service determines which components require installation. Set
Repair to true to allow the WSL package to be reinstalled; it has no effect when installing
Virtual Machine Platform. If the component list contains Component.SdkNeedsUpdate, installation
fails because installing components cannot resolve the SDK compatibility error.