Microsoft.Management.Deployment.Projection should be included in Microsoft.WindowsPackageManager.ComInterop NuGet
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.
This appear to related to how the WinAppSDK approaches similar functionality.
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 有关,两者内容不一样。