Closed azchohfi closed 3 months ago
A workaround is to remove one of them:
<PackageReference Include="Microsoft.ML.OnnxRuntime.DirectML" Version="1.17.3" PrivateAssets="contentfiles;analyzers" ExcludeAssets="build" />
Thanks for reporting this. We are trying to come up with a solution that will resolve this problem. We are probably going to target a solution for a future release (not 0.2.0).
I see the PR is out. Is this still not for 0.2.0? I believe it would need cherry-picking, but maybe this is too much breaking of a change that you want it for later?
This would impact 0.2.0 dml variant if we cherry picked it since ort has changes not currently released in a stable nuget. We probably will not be adding it to 0.2.0.
Does the problem also manifest in a console application? I was not able to reproduce this there. Maybe it only happens with WinAppSDK?
I see. No problem. I believe it replicates in any packaged (MSIX) app, not necessarily WinAppSDK.
Closing this for now. We have an ongoing effort to resolve the inclusion of ONNXR Runtime nugets in this library
If you have a project referencing both the onnxruntime and the genai package, and if I try to build a windows app (WinAppSDK), it fails: