-
Notifications
You must be signed in to change notification settings - Fork 514
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
The framework [.../onnxruntime.framework] is a framework of static libraries, and will not be copied to the app #21450
Comments
From @nagilson on Tue, 15 Oct 2024 20:08:10 GMT Not sure if this should be directed towards Maui or the Runtime team, but probably Maui? |
From @marcpopMSFT on Tue, 15 Oct 2024 20:15:00 GMT @Redth @jonathanpeppers should this go to the Maui team and which repo should we route it to? That MT error code I think is from the simulator, right? |
From @jonathanpeppers on Tue, 15 Oct 2024 20:41:15 GMT Do we have a way to move this to https://github.com/xamarin/xamarin-macios? |
From @nagilson on Tue, 15 Oct 2024 20:50:31 GMT You cant unless you use some sort of bot to duplicate the issue. |
From @jonathanpeppers on Tue, 15 Oct 2024 21:11:00 GMT Maybe @dalexsoto @rolfbjarne have a github issue mover tool to move it? |
Can you try adding this package, and see if that fixes it? <PackageReference Include="Microsoft.ML.OnnxRuntime.Extensions.Dummy" Version="0.10.0-beta" /> |
Thank you for your help, it's really appreciated 🙌 I've tried this dependency (at |
…rojects and as NativeReference items. Fixes #21294. Now it's possible to reference a compressed xcframework like this: ```xml <NativeReference Include="path/to/myframework.xcframework.zip" /> ``` This makes it easier to work with xcframeworks on Windows, because xcframeworks can contain symlinks, and by zipping them up the whole symlink problem is avoided. Turns out there's already a NuGet that adds a .xcframework.zip file as a NativeReference (Microsoft.ML.OnnxRuntime), so this makes that NuGet work. Fixes #21294. Fixes #21450.
From @fdevillard on Mon, 14 Oct 2024 15:55:14 GMT
Describe the bug
I've created a toy MAUI project and everything build and run well until I add and use the following dependencies:
Whenever I try to use a resource from the dependency, the app crashes (exception below).
The build generates the following warning that I assume is directly related:
I don't understand why, and I'm running out of ideas to fix this.
Thank you in advance for any help 🙌
(Note: this was first briefly mentioned here dotnet/sdk#36527)
To Reproduce
I've created repo with the code: https://github.com/fdevillard/maui-onnx-crash
To reproduce:
Expected: "model loaded" is rendered in the button, showing the it has indeed been loaded
Behavior: the app crashes.
Exceptions
Further technical details
dotnet --info
:8.0.403
1.94.2
Copied from original issue dotnet/sdk#44161
The text was updated successfully, but these errors were encountered: