microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
22.5k stars 1.39k forks source link

Microsoft.Management.Deployment.Projection should be included in Microsoft.WindowsPackageManager.ComInterop NuGet #4504

Open MattHyman opened 1 month ago

MattHyman commented 1 month ago

Description of the new feature / enhancement

Microsoft.Management.Deployment.Projection should be included in Microsoft.WindowsPackageManager.ComInterop NuGet.

Currently when using Microsoft.WindowsPackageManager.ComInterop in a C# project you need to manually copy multiple c# files from Microsoft.Management.Deployment.Projection. Ideally this logic should be included in the nuget that it can simply be consumed with minimal to no boilerplate code involved in consuming the API.

Proposed technical implementation details

Microsoft.Management.Deployment.Projection should be included in Microsoft.WindowsPackageManager.ComInterop NuGet.

MattHyman commented 4 weeks ago

This appear to related to how the WinAppSDK approaches similar functionality.