diff --git a/csharp/test/Microsoft.ML.OnnxRuntime.Tests.MAUI/Microsoft.ML.OnnxRuntime.Tests.MAUI.csproj b/csharp/test/Microsoft.ML.OnnxRuntime.Tests.MAUI/Microsoft.ML.OnnxRuntime.Tests.MAUI.csproj index 652da8899f..a825295d17 100644 --- a/csharp/test/Microsoft.ML.OnnxRuntime.Tests.MAUI/Microsoft.ML.OnnxRuntime.Tests.MAUI.csproj +++ b/csharp/test/Microsoft.ML.OnnxRuntime.Tests.MAUI/Microsoft.ML.OnnxRuntime.Tests.MAUI.csproj @@ -49,6 +49,7 @@ true ..\..\OnnxRuntime.snk + true diff --git a/tools/ci_build/github/azure-pipelines/nuget/templates/test_android.yml b/tools/ci_build/github/azure-pipelines/nuget/templates/test_android.yml index 1fe93987b8..7f44e9f6d4 100644 --- a/tools/ci_build/github/azure-pipelines/nuget/templates/test_android.yml +++ b/tools/ci_build/github/azure-pipelines/nuget/templates/test_android.yml @@ -43,6 +43,17 @@ stages: dotnet workload install maui maui-android android workingDirectory: '$(Build.SourcesDirectory)\csharp' + - task: PowerShell@2 + displayName: List installed workloads + inputs: + targetType: 'inline' + script: | + $output = dotnet --list-sdks + Write-Output $output + $output1 = dotnet workload list + Write-Output $output1 + workingDirectory: '$(Build.SourcesDirectory)\csharp' + - task: PowerShell@2 displayName: Generating MAUI keystore inputs: