Skip to content
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

Provide 32-bit native binary #177

Closed
Pilzinsel64 opened this issue Nov 15, 2024 · 4 comments
Closed

Provide 32-bit native binary #177

Pilzinsel64 opened this issue Nov 15, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Pilzinsel64
Copy link

Pilzinsel64 commented Nov 15, 2024

Describe the feature request

You're providing 64-bit binary binary. Please also provide a 32-bit binary if possible.
Alternative: Distribute 64-bit libraries also for 32-bit in the Unleash.Yggdrasil nuget package.

Background

We distribute our applicaitons with win-x86 .NET runtime for several performance and compatibility reasons. However, updating our projects to use Unleash.Client v5.0.0 nuget packages leads to the result that after publishing as win-x86 applicaiton that the native DLL yggdrasilffi can not be found. .NET don't copy it to the output when publishing as win-x86 application as it's only available for win-x64 and not for win-x86.
grafik
grafik

System.DllNotFoundException: Unable to load DLL 'yggdrasilffi' or one of its dependencies: Das angegebene Modul wurde nicht gefunden. (0x8007007E)    at Yggdrasil.FFI.new_engine()
   at Yggdrasil.FFI.NewEngine()
   at Yggdrasil.YggdrasilEngine..ctor(List`1 strategies)
   at Unleash.UnleashServices..ctor(UnleashSettings settings, EventCallbackConfig eventConfig, List`1 strategies)
   at Unleash.DefaultUnleash..ctor(UnleashSettings settings, IStrategy[] strategies)

Without win-x86 native libraries we would need to stick to the old version, continue maintenance by making a fork of it, or need to switch to win-x64 just for the unleash client.

Solution suggestions

No response

@Pilzinsel64 Pilzinsel64 added the enhancement New feature or request label Nov 15, 2024
@Pilzinsel64 Pilzinsel64 changed the title Provide win-x86 native binary Provide 32-bit native binary Nov 15, 2024
@sighphyre
Copy link
Member

Hey @Pilzinsel64, that shouldn't be a problem. Build is already published, I just need to go through the dance of getting a virtual machine setup to test this

@sighphyre
Copy link
Member

Okay, beta works. We've pushed out v5.0.1 of the .NET client, which should work fine on 32 bit Windows.

The other SDKs don't have support yet but it'll trickle out in the next few releases on their side unless you're being blocked by another language's SDK

@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs Nov 19, 2024
@Pilzinsel64
Copy link
Author

Pilzinsel64 commented Nov 20, 2024

That was fast, thank you very much! It works fine now.

@sighphyre
Copy link
Member

Nothing but a pleasure! Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants