nuget 制作

113 阅读1分钟
  1. 普通 dll

C#【必备技能篇】制作NuGet程序包,并发布到NuGet官网_c# nuget-CSDN博客

  1. loongArch 64 适配

龙芯发布 .NET 8 SDK 8.0.100-rc2 LoongArch64 - 张善友 - 博客园 (cnblogs.com)

  1. nuget aot publish demo
  • 借助zig交叉编译发布多系统dll

GitHub - MichalStrehovsky/PublishAotCross: NuGet package to help you cross-compile Native AOT to different OSes/architectures

  • aot 发布教程 .net7

包含p/invoke com

GitHub - whuanle/csharp_aot_golang: 在 .NET 部分,介绍如何使用 AOT、减少二进制文件大小、使用最新的 [LibraryImport] 导入函数; 在 Go 语言部分,介绍如何使用 GCC 编译代码、如何导入函数。 在文章中会演示 .NET 和 Go 相互调用各种生成的动态链接库,以及对比两者之间的差异。

  • aot 解决 P/Invoke com

p/invoke 源生成:

P/Invoke 源生成 - .NET | Microsoft Learn

com 源生成:

ComWrappers 源生成 - .NET | Microsoft Learn

  • net aot publish static dll 并调用

GitHub - sneusse/aot-static-example: Minimal example for direct P/Invoke calls with static linking

  • net aot publish shared dll 并调用

GitHub - Xylobol/DotNet-NativeAOT-Library-Example: An example of how to NativeAOT-compile a shared library written on the .NET platform