-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hope to provide Microsoft.Management.Deployment.Projection.dll for .NET 6+ #4094
Comments
Hey @Gaoyifei1011 I think we're looking to provide a C# sample for leveraging the COM API. Would that address the concern here? I'm pretty sure it would require us to figure out how to generate the projection or some other suitable solution. |
Thanks @marticliment for cross linking the issue at WinGetUI. |
I have built a minimal working example that uses WinGet APIs through C#: The README file has all the information needed on how to use the example It should work on Windows 10 and 11. The example has been tested with NET8, but the project should be downgradable to NET6 and 7. |
I'm sorry for not seeing your reply in time for some reason. I tried in my personal project to create a blank csproj project and generate Microsoft. Management Deployment. The Projection. DLL for my personal use, you can also create a blank project is used to generate the Projection.dll 由于一些特殊原因,需要在 Projection.dll 中添加一个不基于内置 COM 支持能够调用的 IDataTransferManagerInterop 接口调用,这个接口的方法已经合并到 CsWinRT Staging/AOT 分支中,CsWinRT 发布新版本支持 AOT 时,该方法将会删除 Due to some special reasons, need to be in the Projection. Add a DLL is not based on built-in COM support can call IDataTransferManagerInterop interface call, The methods of this interface have been merged into the CsWinRT Staging/AOT branch and will be removed when CsWinRT releases a new version supporting AOT |
The CsWinRT projection dll is already included in the new version of the nuget package, so the issue will be closed soon 新版本的 nuget 包中已经包含了 CsWinRT projection dll,所以该 issue 即将关闭 |
Brief description of your issue
Hope to provide Microsoft.Management.Deployment.Projection.dll for .NET 6+
At present, the Windows app SDK generates C# WinRT's Projection .dll for projects on the .NET 6+ platform, but Winget does not generate a corresponding Projection .dll for the .NET 6+ platform, and hopes to provide a Projection.dll nuget package for .NET 6+ platforms to call in the future
Steps to reproduce
None
Expected behavior
Provide Microsoft.Management.Deployment.Projection.dll in nuget packages for .Net6+ platforms
Actual behavior
None Microsoft.Management.Deployment.Projection.dll in nuget packages
Environment
The text was updated successfully, but these errors were encountered: