microsoft / devhome

The new Dev Home experience for Windows!
https://aka.ms/devhomedocs
MIT License
3.51k stars 310 forks source link

Dev Home SDK should support extensions querying winget for package information #2993

Open MattHyman opened 2 months ago

MattHyman commented 2 months ago

Suggested new feature or improvement

Dev Home SDK should support extensions querying winget for package information.

Scenario

Dev home extensions may need access to winget information to make UX decisions. For example, "winget search" could be used to make decisions on which applications should be displayed via the featured applications API. The dev home SDK should support these scenarios so that the winget COM API does not need to be used directly.

Additional details

The WinGet COM API can be used in the extensions directly as a workaround here.

AmelBawa-msft commented 1 month ago

Now that WinGet and DSC are completely separated from Dev Home UI, could we add those projects to a Nuget as helper libraries so users can leverage Dev Home's implementation @krschau , @EricJohnson327? The alternative today is to use the WinGet COM API to achieve that, but then one may have to resolve the same out-of-proc challenges we've already handled in Dev Home.