From 7819670073a952c6db91da7c6c8b9394e3577d88 Mon Sep 17 00:00:00 2001 From: Vitek Karas Date: Wed, 11 Aug 2021 12:30:32 +0200 Subject: [PATCH] Target net6.0 for linker (dotnet/linker#2202) Commit migrated from https://github.com/dotnet/linker/commit/7bf5cd4505d6c36f6c33984789e2a23b8837b6f1 --- src/tools/illink/src/Directory.Build.props | 2 +- src/tools/illink/src/ILLink.Tasks/ILLink.Tasks.csproj | 8 ++++---- .../ILLink.Tasks/build/Microsoft.NET.ILLink.Tasks.props | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/tools/illink/src/Directory.Build.props b/src/tools/illink/src/Directory.Build.props index 6fa42809e979d9..0ddd2dec71f408 100644 --- a/src/tools/illink/src/Directory.Build.props +++ b/src/tools/illink/src/Directory.Build.props @@ -3,7 +3,7 @@ true - net5.0 + net6.0 enable \ No newline at end of file diff --git a/src/tools/illink/src/ILLink.Tasks/ILLink.Tasks.csproj b/src/tools/illink/src/ILLink.Tasks/ILLink.Tasks.csproj index 414e98576d28e4..61888771f15620 100644 --- a/src/tools/illink/src/ILLink.Tasks/ILLink.Tasks.csproj +++ b/src/tools/illink/src/ILLink.Tasks/ILLink.Tasks.csproj @@ -1,8 +1,8 @@  - - - net5.0;net472 + + + net6.0;net472 false MSBuild tasks for running the IL Linker true @@ -35,7 +35,7 @@ - + diff --git a/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.Tasks.props b/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.Tasks.props index bf9e8ccda23342..9742dcea935cb2 100644 --- a/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.Tasks.props +++ b/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.Tasks.props @@ -13,7 +13,7 @@ Copyright (c) .NET Foundation. All rights reserved. true - $(MSBuildThisFileDirectory)..\tools\net5.0\ILLink.Tasks.dll + $(MSBuildThisFileDirectory)..\tools\net6.0\ILLink.Tasks.dll $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll