From 23895c71a2ca5353658c8d64c0a9f8dcf07a9ffe Mon Sep 17 00:00:00 2001 From: Brice Lambson Date: Tue, 12 Apr 2022 10:12:36 -0700 Subject: [PATCH] Tools: Target .NET 6 to improve compatibility with osx-arm64 Also adds a shim we can sign for win-arm64 and rolls ef.dll forward across major runtime versions. Fixes #27787, fixes #27827 --- src/dotnet-ef/dotnet-ef.csproj | 4 ++-- src/ef/ef.csproj | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dotnet-ef/dotnet-ef.csproj b/src/dotnet-ef/dotnet-ef.csproj index ac87e418969..f1b8b05328b 100644 --- a/src/dotnet-ef/dotnet-ef.csproj +++ b/src/dotnet-ef/dotnet-ef.csproj @@ -12,10 +12,10 @@ dotnet ef dbcontext scaffold dotnet ef database drop dotnet ef database update - netcoreapp3.1 + net6.0 Exe true - win-x64;win-x86 + win-x64;win-x86;win-arm64 $(OutDir) Microsoft.EntityFrameworkCore.Tools diff --git a/src/ef/ef.csproj b/src/ef/ef.csproj index 77a7d8d87fe..a75e3579617 100644 --- a/src/ef/ef.csproj +++ b/src/ef/ef.csproj @@ -8,6 +8,7 @@ Microsoft.EntityFrameworkCore.Tools False $(MSBuildThisFileDirectory)..\..\rulesets\EFCore.noxmldocs.ruleset + Major