Skip to content

.Net: Bug: Microsoft.SemanticKernel.Connectors.Onnx missing x86 native dependencies #13551

@ladeak

Description

@ladeak

Describe the bug

Microsoft.SemanticKernel.Connectors.Onnx package version 1.68-alpha has native dependencies under net10.0\runtimes\win-x86\native folder after a build.

Version 1.70.0-alpha is missing the dependencies, but seemingly only the win-x86 is missing.

To Reproduce
Install nuget package Microsoft.SemanticKernel.Connectors.Onnx with the given version and, build the app.

This results a runtime issue on win-x86:

Microsoft.ML.OnnxRuntime.NativeMethods' threw an exception.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.ML.OnnxRuntime.NativeMethods..cctor()
--- End of inner exception stack trace ---
at Microsoft.ML.OnnxRuntime.SessionOptions..ctor()
at Microsoft.ML.OnnxRuntime.InferenceSession..ctor(Byte[] model)

Platform

  • Language: c#
  • Source: nuget Microsoft.SemanticKernel.Connectors.Onnx version1.70.0-alpha
  • AI model: -
  • IDE: -
  • OS: Windows x86

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETIssue or Pull requests regarding .NET codebugSomething isn't workingtriage

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions