winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

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

Open MattHyman opened this issue 1 year ago • 2 comments

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 avatar May 23 '24 23:05 MattHyman

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

MattHyman avatar May 28 '24 22:05 MattHyman

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

The Windows App SDK implements content in namespace Microsoft.Windows.Management.Deployment, which is an extension of Windows.Management.Deployment. Microsoft.Management.Deployment is related to WinGet, and the content of the two is not the same. Windows App SDK 实现的是 Microsoft.Windows.Management.Deployment 命名空间下的内容,是 Windows.Management.Deployment 的扩展。Microsoft.Management.Deployment 与 WinGet 有关,两者内容不一样。

Gaoyifei1011 avatar Sep 15 '24 05:09 Gaoyifei1011