mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-29 03:30:52 +00:00
### Description <!-- Describe your changes. --> Commits to be added: https://github.com/microsoft/onnxruntime/pulls?q=is%3Apr+label%3Arelease%3A1.20.1+sort%3Aupdated-desc ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> --------- Co-authored-by: Kyle <92152685+idiskyle@users.noreply.github.com> Co-authored-by: Scott McKay <skottmckay@gmail.com> Co-authored-by: Hector Li <hecli@microsoft.com> Co-authored-by: Adrian Lizarraga <adlizarraga@microsoft.com> Co-authored-by: amarin16 <91211819+amarin16@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| Platforms | ||
| Properties | ||
| Resources | ||
| App.xaml | ||
| App.xaml.cs | ||
| AppShell.xaml | ||
| AppShell.xaml.cs | ||
| MainPage.xaml | ||
| MainPage.xaml.cs | ||
| MauiProgram.cs | ||
| Microsoft.ML.OnnxRuntime.Tests.MAUI.csproj | ||
| ReadMe.md | ||
| Usings.cs | ||
The MAUI test project can be optionally used with a pre-built ONNX Runtime native nuget package (Microsoft.ML.OnnxRuntime).
To do so, specify the UsePrebuiltNativePackage and CurrentOnnxRuntimeVersion properties when building the project. These can be set via the command-line or as environment variables.
For example:
dotnet build csharp\test\Microsoft.ML.OnnxRuntime.Tests.MAUI\Microsoft.ML.OnnxRuntime.Tests.MAUI.csproj --property:UsePrebuiltNativePackage=true --property:CurrentOnnxRuntimeVersion=1.19.2 --source directory_containing_native_nuget_package --source https://api.nuget.org/v3/index.json