为 UWP 分发 C# Class 库

Distributing C# Class Library for UWP

我有用 C++ 编写的核心功能。
为了从 UWP 使用它,我制作了动态库并像这样链接:[c++ native dll] - [c++/cx windows runtime component] - [UWP c# class 库]
c# dll 为 UWP 提供 API,而 c++/cx 仅用于 c++ 和 c# 之间的互操作性。

我的测试 UWP 应用程序运行良好,现在我想分发我的 dll。
有没有办法在 一体化 结构中分发我的 dll? (像 aar)
如果可能的话,我想为 UWP 创建一个包含上述 [c++ native dll] - [c++/cx windows runtime component][=29= 的库] - [UWP c# class 库]

任何提示或资源将不胜感激
提前谢谢你。

Is there a way to distribute my dlls in all-in-one structure? (like aar)

您可以参考 .NetStandard 库,并将它们混合在一起 .NET Standard library. And if you want this library could run in the multiple platform, you need to refer Xamarin Forms class library structure, for more detail please refer this blog