From ecebd97b6cecf7dc8c71b08e79d61c4f8b26c97a Mon Sep 17 00:00:00 2001 From: Curtis Wensley Date: Fri, 17 Nov 2023 10:36:57 -0800 Subject: [PATCH] Get rid of MSBuildTaskHelper and always use RoslynCodeTaskFactory --- build/Common.Build.targets | 5 ++-- build/Common.Mac.targets | 1 - build/MSBuildTaskHelper.props | 39 ------------------------- build/Utilities.targets | 5 ++-- src/Eto.Mac/Eto.Mac64.csproj | 2 -- src/Eto.Mac/Eto.XamMac2.csproj | 1 - src/Eto.Mac/Eto.macOS.csproj | 1 - src/Eto.Mac/build/Mac.props | 2 -- src/Eto.Mac/build/Mac.targets | 11 ++----- test/Eto.Test.Mac/Eto.Test.Mac64.csproj | 1 - 10 files changed, 6 insertions(+), 62 deletions(-) delete mode 100644 build/MSBuildTaskHelper.props diff --git a/build/Common.Build.targets b/build/Common.Build.targets index 942960d8aa..9deb9b320b 100644 --- a/build/Common.Build.targets +++ b/build/Common.Build.targets @@ -1,8 +1,7 @@ - - + @@ -135,7 +134,7 @@ + TaskFactory="RoslynCodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll"> diff --git a/build/Common.Mac.targets b/build/Common.Mac.targets index 9056bc7c64..d7c37a73f6 100644 --- a/build/Common.Mac.targets +++ b/build/Common.Mac.targets @@ -3,7 +3,6 @@ - diff --git a/build/MSBuildTaskHelper.props b/build/MSBuildTaskHelper.props deleted file mode 100644 index e302bc0d28..0000000000 --- a/build/MSBuildTaskHelper.props +++ /dev/null @@ -1,39 +0,0 @@ - - - - - true - - - - $(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll - $(MSBuildToolsPath)\Microsoft.Build.Tasks.v12.0.dll - $(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll - $(MSBuildFrameworkToolsPath)\Microsoft.Build.Tasks.v4.0.dll - - - - CodeTaskFactory - RoslynCodeTaskFactory - - - - - \ No newline at end of file diff --git a/build/Utilities.targets b/build/Utilities.targets index ce02ca2a56..327d44cb3b 100644 --- a/build/Utilities.targets +++ b/build/Utilities.targets @@ -1,8 +1,7 @@ - - + @@ -111,7 +110,7 @@ public class FileUpdate : Task ]]> - + diff --git a/src/Eto.Mac/Eto.Mac64.csproj b/src/Eto.Mac/Eto.Mac64.csproj index c72ef78c91..b63143c338 100644 --- a/src/Eto.Mac/Eto.Mac64.csproj +++ b/src/Eto.Mac/Eto.Mac64.csproj @@ -77,8 +77,6 @@ You do not need to use any of the classes of this assembly (unless customizing t - - diff --git a/src/Eto.Mac/Eto.XamMac2.csproj b/src/Eto.Mac/Eto.XamMac2.csproj index a38b5d953c..a1c8807a57 100644 --- a/src/Eto.Mac/Eto.XamMac2.csproj +++ b/src/Eto.Mac/Eto.XamMac2.csproj @@ -66,7 +66,6 @@ You do not need to use any of the classes of this assembly (unless customizing t - diff --git a/src/Eto.Mac/Eto.macOS.csproj b/src/Eto.Mac/Eto.macOS.csproj index 8999a28084..caedf5dcb6 100644 --- a/src/Eto.Mac/Eto.macOS.csproj +++ b/src/Eto.Mac/Eto.macOS.csproj @@ -63,7 +63,6 @@ You do not need to use any of the classes of this assembly (unless customizing t - diff --git a/src/Eto.Mac/build/Mac.props b/src/Eto.Mac/build/Mac.props index ddf33d46ac..1cb59b3a16 100644 --- a/src/Eto.Mac/build/Mac.props +++ b/src/Eto.Mac/build/Mac.props @@ -19,8 +19,6 @@ embedded - - MacCreateDmg;MacBeautifyDmg MacCodeSignApp;MacCodeSignDmg diff --git a/src/Eto.Mac/build/Mac.targets b/src/Eto.Mac/build/Mac.targets index 2889c61df3..1198a31de9 100644 --- a/src/Eto.Mac/build/Mac.targets +++ b/src/Eto.Mac/build/Mac.targets @@ -74,15 +74,8 @@ - - <_UpdatePListReference>System.Xml - - - <_UpdatePListReference>netstandard - - - + @@ -92,7 +85,7 @@ - + -