C# does. It's not exactly a scripting language and authoring a native dependency NuGet package isn't exactly an obvious task, but when you learn how, it's a straighforward solution:
- a NuGet package with native deps (win, linux, osx) cross join (x86, arm)
- a P/Invoke package that depends on the native one
- actual software that uses the dependency
When you publish the actual software, it pulls the deps and includes the correct native build.
- a NuGet package with native deps (win, linux, osx) cross join (x86, arm) - a P/Invoke package that depends on the native one - actual software that uses the dependency
When you publish the actual software, it pulls the deps and includes the correct native build.