mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-17 21:10:43 +00:00
Add csharp\sample\InferenceSample\Microsoft.ML.OnnxRuntime.InferenceSample.Maui so we have an equivalent setup for MAUI as for the other platforms. This provides a setup to do some basic local testing of using an InferenceSession in a MAUI app.
43 lines
1.7 KiB
XML
43 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Package
|
|
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
|
|
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
|
|
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
|
|
IgnorableNamespaces="uap rescap">
|
|
|
|
<Identity Name="ONNXRuntimeInferenceSample" Publisher="CN=User Name" Version="0.0.0.0" />
|
|
|
|
<Properties>
|
|
<DisplayName>ONNX Runtime Inference Sample</DisplayName>
|
|
<PublisherDisplayName>User Name</PublisherDisplayName>
|
|
<Logo>$placeholder$.png</Logo>
|
|
</Properties>
|
|
|
|
<Dependencies>
|
|
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
|
|
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
|
|
</Dependencies>
|
|
|
|
<Resources>
|
|
<Resource Language="x-generate" />
|
|
</Resources>
|
|
|
|
<Applications>
|
|
<Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="$targetentrypoint$">
|
|
<uap:VisualElements
|
|
DisplayName="InferenceSample"
|
|
Description="ONNX Runtime sample for developer testing prior to creating nuget package."
|
|
Square150x150Logo="$placeholder$.png"
|
|
Square44x44Logo="$placeholder$.png"
|
|
BackgroundColor="transparent">
|
|
<uap:DefaultTile Square71x71Logo="$placeholder$.png" Wide310x150Logo="$placeholder$.png" Square310x310Logo="$placeholder$.png" />
|
|
<uap:SplashScreen Image="$placeholder$.png" />
|
|
</uap:VisualElements>
|
|
</Application>
|
|
</Applications>
|
|
|
|
<Capabilities>
|
|
<rescap:Capability Name="runFullTrust" />
|
|
</Capabilities>
|
|
|
|
</Package>
|