Skip to content

[Build] The version info of onnxruntime dlls is not set correctly #24500

@BengtGustafsson

Description

@BengtGustafsson

Describe the issue

When building your library and its provider dlls they don't get a good version number. onnxruntime.dll and onnxruntime_provider_shared.dll get ORT_VERSION verbatim while the cuda and trt provider dlls don't get any version set at all.

The reason for ORT_VERSION is probably that you forgot the ${} that needs to surround variable names in cmake somewhere.

Urgency

No response

Target platform

windows

Build script

nothing special. Using your build.py with dml, cuda and trt.

Error / output

versions on dlls wrong or missing.

Visual Studio Version

VS2022

GCC / Compiler Version

No response

Metadata

Metadata

Labels

buildbuild issues; typically submitted using templatecontributions welcomeexternal contributions welcome

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions