microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.65k stars 2.93k forks source link

Breaks RootNamespace #21783

Open JranZu opened 2 months ago

JranZu commented 2 months ago

Describe the issue

In VS 2022 anytime I add the Microsoft.ML.OnnxRuntime.DirectML nuget package to my project it breaks RootNamespaces. If I comment out the package in the .csproj file it starts working again. This only applies to subfolders, the root folder works fine.

It only breaks it for the project it was added to. If I add it to a secondary project in my solution, and then add a reference to that project it does not break the RootNamespaces in the primary project.

To reproduce

Urgency

No response

Platform

Windows

OS Version

11

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

1.19

ONNX Runtime API

C#

Architecture

X64

Execution Provider

DirectML

Execution Provider Library Version

1.18.1; 1.19

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.