Skip to content

Latest package miss win-x86 native dependencies (regression to 1.22.1) #27362

@ladeak

Description

@ladeak

Describe the issue

Latest package (1.24.1 misses the win-x86 native dependencies. In version 1.22.1 when I build a console app, win-x86 dependencies were present under this folder:

Debug\net10.0\runtimes:

Image

With the latest release win-x86 is missing:

Image

Which means that existing applications on Azure running with x86 AppService fails at runtime.

To reproduce

Create a .NET console app
Add dotnet add package Microsoft.ML.OnnxRuntime --version 1.24.1
dotnet build
Check the presence of bin\Debug\net10.0\runtimes\win-x86\native folder

Urgency

Yes, because this is being used through Microsoft.SemanticKernel.Connector.Onnx and the last version that worked is marked as vulnerable. (microsoft/semantic-kernel#13551 )

Platform

Windows

OS Version

11

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

1.24.1

ONNX Runtime API

C#

Architecture

X86

Execution Provider

Default CPU

Execution Provider Library Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETPull requests that update .net codeapi:CSharpissues related to the C# API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions