onnxruntime/csharp/test/Microsoft.ML.OnnxRuntime.Tests.MAUI
Caroline Zhu d00ae325ce
Revert "[Mobile] Add BrowserStack Android MAUI Test (#23383)" (#23474)
This reverts commit 9f9fcf74ff.

### Motivation and Context
- NuGet packaging pipelines failing with this error:
```Files\dotnet\packs\Microsoft.NET.Runtime.MonoTargets.Sdk\8.0.12\Sdk\RuntimeComponentManifest.targets(3,5):
error : Empty ResolveFrameworkReference.RuntimePackPath while trying to
read runtime components manifest. ResolvedFrameworkReference available:
{ Microsoft.NETCore.App, RuntimePackPath: }```
2025-01-23 21:48:27 -08:00
..
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 Revert "[Mobile] Add BrowserStack Android MAUI Test (#23383)" (#23474) 2025-01-23 21:48:27 -08:00
ReadMe.md Rework the native library usage so that a pre-built ORT native package can be easily used (#22345) 2024-11-01 11:03:33 -07:00
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