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

Fix #24130 by adding an empty dependency group to the code that generates Microsoft.ML.OnnxRuntime.nuspec #24131

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

benjamin-hodgson
Copy link

@benjamin-hodgson benjamin-hodgson commented Mar 21, 2025

Description

As detailed in the issue (#24130), the Microsoft.ML.OnnxRuntime nuspec needs an additional dependency group for the native TFM, to allow it to be referenced via PackageReference in vcxproj projects.

I took a peek at the code after filing the issue, since it seemed like it ought to be a simple fix. It looks like the nuspec file for the Microsoft.ML.OnnxRuntime package is generated by the python code in generate_nuspec_for_native_nuget.py, so I just added a line of code there.

However I'm not sure how the build system invokes this generator so I haven't been able to test it in situ. Let me know if this isn't the right fix!

Motivation and Context

See detailed description in #24130

@benjamin-hodgson benjamin-hodgson changed the title Fix #24130 by adding an empty dependency group Fix #24130 by adding an empty dependency group to the code that generates Microsoft.ML.OnnxRuntime.nuspec Mar 21, 2025
@snnn
Copy link
Member

snnn commented Mar 21, 2025

/azp run Big Models, Linux Android Emulator QNN CI Pipeline, Linux CPU CI Pipeline, Linux CPU Minimal Build E2E CI Pipeline, Linux GPU CI Pipeline, Linux GPU TensorRT CI Pipeline

@snnn
Copy link
Member

snnn commented Mar 21, 2025

/azp run Linux OpenVINO CI Pipeline, Linux QNN CI Pipeline, ONNX Runtime Web CI Pipeline, onnxruntime-binary-size-checks-ci-pipeline, Win_TRT_Minimal_CUDA_Test_CI, Windows ARM64 QNN CI Pipeline, Windows GPU Doc Gen CI Pipeline, Windows x64 QNN CI Pipeline

Copy link

Azure Pipelines successfully started running 6 pipeline(s).

Copy link

Azure Pipelines successfully started running 8 pipeline(s).

@benjamin-hodgson
Copy link
Author

I think this is ready to merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants