Skip to content

Provide prebuilt native libraries by NuGet Packages.#257

Draft
ha-ves wants to merge 1 commit intoNetCordDev:alphafrom
ha-ves:feature/prebuilt-natives
Draft

Provide prebuilt native libraries by NuGet Packages.#257
ha-ves wants to merge 1 commit intoNetCordDev:alphafrom
ha-ves:feature/prebuilt-natives

Conversation

@ha-ves
Copy link

@ha-ves ha-ves commented Feb 9, 2026

Continuing from #245 .

This will provide opus, libsodium, and libdave natives.

Structure

  • Separate binar into individual RID-specific packages (e.g., NetCord.Natives.libdave.win-x64, NetCord.Natives.opus.linux-arm64)
  • Create a runtime-specific meta package for all libs
  • Keep separate from the main NetCord project and allows users to build their own binaries

Verify Build & NativeAOT support

OK <RuntimeIdentifier> Configs Types
win-x86 RelWithDebInfo MinSizeRel Shared Static CRT (/MT) for NativeAOT
win-x64 RelWithDebInfo MinSizeRel Shared Static CRT (/MT) for NativeAOT
win-arm64 RelWithDebInfo MinSizeRel Shared Static CRT (/MT) for NativeAOT(?)
linux-x64 RelWithDebInfo MinSizeRel Shared Static
linux-arm64 RelWithDebInfo MinSizeRel Shared Static
osx-x64 RelWithDebInfo MinSizeRel Shared Static
osx-arm64 RelWithDebInfo MinSizeRel Shared Static

Documentation

  • Add instructions for how to reference prebuilt packages
  • Add instructions for manual builds if users need unsupported platforms

… conditional typo fix * findopenssl proper * add osx runtime file extension .dylib * nowarn NU5103 for self-managed lib files

* CI proper * prop condition fix * openssl getver
handle deps via vcpkg
`dotnet restore` step fix
gh action runner proper
CI debugging
submodules set
CI verbosity & binlog
CI verbosity & debug
try CI actions workflow
building libdave packages ready
initial prebuild libdave
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant