From a2f80a006be42133a9d8d2b0325cb441a4a50f4d Mon Sep 17 00:00:00 2001 From: Yi Zhang Date: Fri, 21 Apr 2023 12:11:43 +0800 Subject: [PATCH] update target framework to dotnet6.0 (#15615) ### Description Upgrade dotnet E2E test target framework to dotnet6.0 ### Motivation and Context Fix dotnet3.1 deprecation issue which broke nuget building pipeline. The error message in NuGet_Test_Linux_CPU was ``` To install missing framework, download: https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=3.1.0&arch=x64&rid=ubuntu.20.04-x64 . Please check the diagnostic logs for more information. ``` Test Run: https://dev.azure.com/aiinfra/Lotus/_build/results?buildId=300655&view=results. --- .../Microsoft.ML.OnnxRuntime.EndToEndTests.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/Microsoft.ML.OnnxRuntime.EndToEndTests.csproj b/csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/Microsoft.ML.OnnxRuntime.EndToEndTests.csproj index 3e4802bf68..f44db30afd 100644 --- a/csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/Microsoft.ML.OnnxRuntime.EndToEndTests.csproj +++ b/csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/Microsoft.ML.OnnxRuntime.EndToEndTests.csproj @@ -14,6 +14,7 @@ True true ..\..\OnnxRuntime.snk + net6.0