Skip to content

Windows 7 compatibility for Microsoft.ML.OnnxRuntime NuGet package with C# #25910

@chanbee72

Description

@chanbee72

Describe the issue

I am developing a program in C# using Visual Studio and would like to perform inference with ONNX models on Windows 7.

Even after downgrading the Microsoft.ML.OnnxRuntime NuGet package, I am unable to successfully load a model session on Windows 7.

According to the official documentation (https://onnxruntime.ai/docs/reference/compatibility.html
), ONNX Runtime is listed as "May be compatible with Windows 7+".

Could you please advise which NuGet package versions are compatible with Windows 7, and if there is a recommended way to run ONNX Runtime on this OS?

To reproduce

sess = new InferenceSession(targetFile);

Urgency

No response

Platform

Windows

OS Version

Windows 7

ONNX Runtime Installation

Built from Source

ONNX Runtime Version or Commit ID

1.21.0 / 1.6.0

ONNX Runtime API

C#

Architecture

X64

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# APIplatform:windowsissues related to the Windows platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions