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

Version 9.4.0 of the VW NuGet does not automatically pull in native runtime dependencies #4214

Closed
lokitoth opened this issue Oct 12, 2022 · 0 comments · Fixed by #4216
Closed
Labels
Bug Bug in learning semantics, critical by default Workaround Exists There exists a workaround to the issue, and it is documented in the description

Comments

@lokitoth
Copy link
Member

lokitoth commented Oct 12, 2022

Describe the bug

When using the VW NuGet version 9.4.0, on first invocation of the native code, a FileNotFoundException will be raised due to a lack of the "VowpalWabbit.Core" dynamic library, which is found in the platform-specific runtime support packages:

<PackageReference Include="VowpalWabbit.runtime.linux-x64" Version="9.4.0"  />
<PackageReference Include="VowpalWabbit.runtime.osx-x64" Version="9.4.0"  />
<PackageReference Include="VowpalWabbit.runtime.win-x64" Version="9.4.0"  /> 

Workaround: Manually add a reference to the runtime support packages. Adding all three is the recommended method, but only the one targeting your platform of choice is required.

How to reproduce

Add a reference to the 9.4.0 version of the C# NuGet, and instantiate the VowpalWabbit object.

Version

9.4.0

OS

Any

Language

C#

Additional context

No response

@lokitoth lokitoth added Bug Bug in learning semantics, critical by default Workaround Exists There exists a workaround to the issue, and it is documented in the description labels Oct 12, 2022
@lokitoth lokitoth changed the title Version 9.4.0 of the VW NuGet does not automatically pull in runtime dependencies Version 9.4.0 of the VW NuGet does not automatically pull in native runtime dependencies Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug in learning semantics, critical by default Workaround Exists There exists a workaround to the issue, and it is documented in the description
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant