From 2187a82435da0f3e20c712f7a23cd7892f72f1be Mon Sep 17 00:00:00 2001 From: Curtis Wensley Date: Sun, 10 Apr 2022 17:57:09 -0700 Subject: [PATCH] More updates for latest .NET 6 sdk --- .github/workflows/build.yml | 2 +- build/Build.proj | 8 +++--- lib/monomac | 2 +- .../EmbedEtoInXamarinMac.csproj | 3 +- .../EmbedXamarinMacInEto.csproj | 3 +- src/Eto.Core.sln | 28 +++++++++++++++++++ .../App-CSharp/.template.config/template.json | 4 +-- .../App-CSharp/EtoApp.1/EtoApp.1.csproj | 2 +- .../Separate/EtoApp.1.Gtk/EtoApp.1.Gtk.csproj | 2 +- .../Separate/EtoApp.1.Mac/EtoApp.1.Mac.csproj | 4 +-- .../EtoApp.1.WinForms.csproj | 4 +-- .../Separate/EtoApp.1.Wpf/EtoApp.1.Wpf.csproj | 4 +-- .../App-FSharp/.template.config/template.json | 4 +-- .../App-FSharp/EtoApp.1/EtoApp.1.fsproj | 2 +- .../Separate/EtoApp.1.Gtk/EtoApp.1.Gtk.fsproj | 2 +- .../Separate/EtoApp.1.Mac/EtoApp.1.Mac.fsproj | 4 +-- .../EtoApp.1.WinForms.fsproj | 4 +-- .../Separate/EtoApp.1.Wpf/EtoApp.1.Wpf.fsproj | 4 +-- .../.template.config/template.json | 4 +-- .../App-VisualBasic/EtoApp.1/EtoApp.1.vbproj | 2 +- .../Separate/EtoApp.1.Gtk/EtoApp.1.Gtk.vbproj | 2 +- .../Separate/EtoApp.1.Mac/EtoApp.1.Mac.vbproj | 4 +-- .../EtoApp.1.WinForms.vbproj | 4 +-- .../Separate/EtoApp.1.Wpf/EtoApp.1.Wpf.vbproj | 4 +-- src/Eto.Mac/build/BundleDotNetCore.targets | 5 +++- src/Eto.Mac/build/Dmg.targets | 3 +- src/Eto.sln | 21 ++++++++++++++ src/Eto/sdk/Sdk.targets | 12 ++++---- test/Eto.Test.Mac/Eto.Test.XamMac2.csproj | 5 ++-- test/Eto.Test.Mac/Eto.Test.macOS.csproj | 2 +- 30 files changed, 106 insertions(+), 48 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5d4e7c83e7..82de036e92 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ on: types: [ published ] env: - DotNetVersion: "6.0.100" + DotNetVersion: "6.0.201" BuildConfiguration: "Release" BuildParameters: "build/Build.proj /v:Minimal /consoleLoggerParameters:NoSummary /p:Configuration=Release /p:BuildVersion=${{ github.run_id }} /p:BuildBranch=${{ github.ref }}" diff --git a/build/Build.proj b/build/Build.proj index 1d85d16ff5..71f8d9b8c3 100644 --- a/build/Build.proj +++ b/build/Build.proj @@ -268,10 +268,10 @@ - - - - + + + + diff --git a/lib/monomac b/lib/monomac index 079297c1ad..03ef2ed71e 160000 --- a/lib/monomac +++ b/lib/monomac @@ -1 +1 @@ -Subproject commit 079297c1ad9c52f19abccbc1e5ba86f2df1063f0 +Subproject commit 03ef2ed71ef6c0511a09a8fa7ba007c45524cc3d diff --git a/samples/XamarinMac/EmbedEtoInXamarinMac/EmbedEtoInXamarinMac.csproj b/samples/XamarinMac/EmbedEtoInXamarinMac/EmbedEtoInXamarinMac.csproj index 0730dd4bf4..a00b99e943 100644 --- a/samples/XamarinMac/EmbedEtoInXamarinMac/EmbedEtoInXamarinMac.csproj +++ b/samples/XamarinMac/EmbedEtoInXamarinMac/EmbedEtoInXamarinMac.csproj @@ -3,7 +3,7 @@ True Exe - net48 + xamarinmac20 False False Mac Developer @@ -11,6 +11,7 @@ --nowarn:2006 --nowarn:5220 10.14 False + SdkOnly diff --git a/samples/XamarinMac/EmbedXamarinMacInEto/EmbedXamarinMacInEto.csproj b/samples/XamarinMac/EmbedXamarinMacInEto/EmbedXamarinMacInEto.csproj index cdd02c65d8..8469fab1fa 100644 --- a/samples/XamarinMac/EmbedXamarinMacInEto/EmbedXamarinMacInEto.csproj +++ b/samples/XamarinMac/EmbedXamarinMacInEto/EmbedXamarinMacInEto.csproj @@ -3,7 +3,7 @@ True Exe - net48 + xamarinmac20 False False Mac Developer @@ -11,6 +11,7 @@ --nowarn:2006 --nowarn:5220 10.14 False + SdkOnly diff --git a/src/Eto.Core.sln b/src/Eto.Core.sln index 8cf1d79fd5..2618f80445 100644 --- a/src/Eto.Core.sln +++ b/src/Eto.Core.sln @@ -35,6 +35,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "monomac", "monomac", "{E77D EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "generator", "..\lib\monomac\src\generator.csproj", "{EE5D4296-DFD7-4D1B-B9F9-C43AD9ED4F6F}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Eto.macOS", "Eto.Mac\Eto.macOS.csproj", "{B3AB773A-BCF6-4679-AC13-E2879F61DF33}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Eto.Test.macOS", "..\test\Eto.Test.Mac\Eto.Test.macOS.csproj", "{8A002565-996A-45F9-8D74-89E8D272717F}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -228,6 +232,30 @@ Global {EE5D4296-DFD7-4D1B-B9F9-C43AD9ED4F6F}.Release|x64.Build.0 = Release|Any CPU {EE5D4296-DFD7-4D1B-B9F9-C43AD9ED4F6F}.Release|x86.ActiveCfg = Release|Any CPU {EE5D4296-DFD7-4D1B-B9F9-C43AD9ED4F6F}.Release|x86.Build.0 = Release|Any CPU + {B3AB773A-BCF6-4679-AC13-E2879F61DF33}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B3AB773A-BCF6-4679-AC13-E2879F61DF33}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B3AB773A-BCF6-4679-AC13-E2879F61DF33}.Debug|x64.ActiveCfg = Debug|Any CPU + {B3AB773A-BCF6-4679-AC13-E2879F61DF33}.Debug|x64.Build.0 = Debug|Any CPU + {B3AB773A-BCF6-4679-AC13-E2879F61DF33}.Debug|x86.ActiveCfg = Debug|Any CPU + {B3AB773A-BCF6-4679-AC13-E2879F61DF33}.Debug|x86.Build.0 = Debug|Any CPU + {B3AB773A-BCF6-4679-AC13-E2879F61DF33}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B3AB773A-BCF6-4679-AC13-E2879F61DF33}.Release|Any CPU.Build.0 = Release|Any CPU + {B3AB773A-BCF6-4679-AC13-E2879F61DF33}.Release|x64.ActiveCfg = Release|Any CPU + {B3AB773A-BCF6-4679-AC13-E2879F61DF33}.Release|x64.Build.0 = Release|Any CPU + {B3AB773A-BCF6-4679-AC13-E2879F61DF33}.Release|x86.ActiveCfg = Release|Any CPU + {B3AB773A-BCF6-4679-AC13-E2879F61DF33}.Release|x86.Build.0 = Release|Any CPU + {8A002565-996A-45F9-8D74-89E8D272717F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8A002565-996A-45F9-8D74-89E8D272717F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8A002565-996A-45F9-8D74-89E8D272717F}.Debug|x64.ActiveCfg = Debug|Any CPU + {8A002565-996A-45F9-8D74-89E8D272717F}.Debug|x64.Build.0 = Debug|Any CPU + {8A002565-996A-45F9-8D74-89E8D272717F}.Debug|x86.ActiveCfg = Debug|Any CPU + {8A002565-996A-45F9-8D74-89E8D272717F}.Debug|x86.Build.0 = Debug|Any CPU + {8A002565-996A-45F9-8D74-89E8D272717F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8A002565-996A-45F9-8D74-89E8D272717F}.Release|Any CPU.Build.0 = Release|Any CPU + {8A002565-996A-45F9-8D74-89E8D272717F}.Release|x64.ActiveCfg = Release|Any CPU + {8A002565-996A-45F9-8D74-89E8D272717F}.Release|x64.Build.0 = Release|Any CPU + {8A002565-996A-45F9-8D74-89E8D272717F}.Release|x86.ActiveCfg = Release|Any CPU + {8A002565-996A-45F9-8D74-89E8D272717F}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(NestedProjects) = preSolution {EE5D4296-DFD7-4D1B-B9F9-C43AD9ED4F6F} = {E77D6350-0CCF-11EB-A5F5-69BE9D4F31C9} diff --git a/src/Eto.Forms.Templates/content/App-CSharp/.template.config/template.json b/src/Eto.Forms.Templates/content/App-CSharp/.template.config/template.json index f4114c5793..51684cb5fb 100755 --- a/src/Eto.Forms.Templates/content/App-CSharp/.template.config/template.json +++ b/src/Eto.Forms.Templates/content/App-CSharp/.template.config/template.json @@ -72,8 +72,8 @@ "type": "parameter", "description": "Specify the framework(s) to support", "dataType": "choice", - "defaultValue": "net5.0", - "replaces": "net5.0", + "defaultValue": "net6.0", + "replaces": "net6.0", "choices": [ { "choice": "net6.0", diff --git a/src/Eto.Forms.Templates/content/App-CSharp/EtoApp.1/EtoApp.1.csproj b/src/Eto.Forms.Templates/content/App-CSharp/EtoApp.1/EtoApp.1.csproj index e099d73833..c85529d1ae 100755 --- a/src/Eto.Forms.Templates/content/App-CSharp/EtoApp.1/EtoApp.1.csproj +++ b/src/Eto.Forms.Templates/content/App-CSharp/EtoApp.1/EtoApp.1.csproj @@ -8,7 +8,7 @@ --> - net5.0 + net6.0 TargetFrameworkOverride EtoApp._1 diff --git a/src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.Gtk/EtoApp.1.Gtk.csproj b/src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.Gtk/EtoApp.1.Gtk.csproj index 7a935b314f..0685f0a313 100755 --- a/src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.Gtk/EtoApp.1.Gtk.csproj +++ b/src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.Gtk/EtoApp.1.Gtk.csproj @@ -2,7 +2,7 @@ WinExe - net5.0 + net6.0 TargetFrameworkOverride EtoApp._1.Gtk diff --git a/src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.Mac/EtoApp.1.Mac.csproj b/src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.Mac/EtoApp.1.Mac.csproj index b1ce9b6da1..9ec19a21d6 100755 --- a/src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.Mac/EtoApp.1.Mac.csproj +++ b/src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.Mac/EtoApp.1.Mac.csproj @@ -2,11 +2,11 @@ Exe - net5.0 + net6.0 TargetFrameworkOverride EtoApp._1.Mac - osx-x64 + osx-x64;osx-arm64 diff --git a/src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.WinForms/EtoApp.1.WinForms.csproj b/src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.WinForms/EtoApp.1.WinForms.csproj index 8019b36fc9..dd781a37b2 100755 --- a/src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.WinForms/EtoApp.1.WinForms.csproj +++ b/src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.WinForms/EtoApp.1.WinForms.csproj @@ -2,8 +2,8 @@ WinExe - net5.0-windows - net5.0 + net6.0-windows + net6.0 TargetFrameworkOverride-windows TargetFrameworkOverride EtoApp._1.WinForms diff --git a/src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.Wpf/EtoApp.1.Wpf.csproj b/src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.Wpf/EtoApp.1.Wpf.csproj index 8bbca56e09..d6a3d7467d 100755 --- a/src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.Wpf/EtoApp.1.Wpf.csproj +++ b/src/Eto.Forms.Templates/content/App-CSharp/Separate/EtoApp.1.Wpf/EtoApp.1.Wpf.csproj @@ -2,8 +2,8 @@ WinExe - net5.0-windows - net5.0 + net6.0-windows + net6.0 TargetFrameworkOverride-windows TargetFrameworkOverride EtoApp._1.Wpf diff --git a/src/Eto.Forms.Templates/content/App-FSharp/.template.config/template.json b/src/Eto.Forms.Templates/content/App-FSharp/.template.config/template.json index b30e4c481e..6b0450e207 100755 --- a/src/Eto.Forms.Templates/content/App-FSharp/.template.config/template.json +++ b/src/Eto.Forms.Templates/content/App-FSharp/.template.config/template.json @@ -72,8 +72,8 @@ "type": "parameter", "description": "Specify the framework(s) to support", "dataType": "choice", - "defaultValue": "net5.0", - "replaces": "net5.0", + "defaultValue": "net6.0", + "replaces": "net6.0", "choices": [ { "choice": "net6.0", diff --git a/src/Eto.Forms.Templates/content/App-FSharp/EtoApp.1/EtoApp.1.fsproj b/src/Eto.Forms.Templates/content/App-FSharp/EtoApp.1/EtoApp.1.fsproj index 52fe1cdd9d..f37f14dfa4 100644 --- a/src/Eto.Forms.Templates/content/App-FSharp/EtoApp.1/EtoApp.1.fsproj +++ b/src/Eto.Forms.Templates/content/App-FSharp/EtoApp.1/EtoApp.1.fsproj @@ -8,7 +8,7 @@ --> - net5.0 + net6.0 TargetFrameworkOverride EtoApp._1 diff --git a/src/Eto.Forms.Templates/content/App-FSharp/Separate/EtoApp.1.Gtk/EtoApp.1.Gtk.fsproj b/src/Eto.Forms.Templates/content/App-FSharp/Separate/EtoApp.1.Gtk/EtoApp.1.Gtk.fsproj index 3ebc633f87..71c3c80257 100755 --- a/src/Eto.Forms.Templates/content/App-FSharp/Separate/EtoApp.1.Gtk/EtoApp.1.Gtk.fsproj +++ b/src/Eto.Forms.Templates/content/App-FSharp/Separate/EtoApp.1.Gtk/EtoApp.1.Gtk.fsproj @@ -2,7 +2,7 @@ WinExe - net5.0 + net6.0 TargetFrameworkOverride EtoApp._1.Gtk diff --git a/src/Eto.Forms.Templates/content/App-FSharp/Separate/EtoApp.1.Mac/EtoApp.1.Mac.fsproj b/src/Eto.Forms.Templates/content/App-FSharp/Separate/EtoApp.1.Mac/EtoApp.1.Mac.fsproj index 05fc4e04cd..41af683a6c 100755 --- a/src/Eto.Forms.Templates/content/App-FSharp/Separate/EtoApp.1.Mac/EtoApp.1.Mac.fsproj +++ b/src/Eto.Forms.Templates/content/App-FSharp/Separate/EtoApp.1.Mac/EtoApp.1.Mac.fsproj @@ -2,11 +2,11 @@ Exe - net5.0 + net6.0 TargetFrameworkOverride EtoApp._1.Mac - osx-x64 + osx-x64;osx-arm64 diff --git a/src/Eto.Forms.Templates/content/App-FSharp/Separate/EtoApp.1.WinForms/EtoApp.1.WinForms.fsproj b/src/Eto.Forms.Templates/content/App-FSharp/Separate/EtoApp.1.WinForms/EtoApp.1.WinForms.fsproj index f88dd75037..ba89bc69f6 100755 --- a/src/Eto.Forms.Templates/content/App-FSharp/Separate/EtoApp.1.WinForms/EtoApp.1.WinForms.fsproj +++ b/src/Eto.Forms.Templates/content/App-FSharp/Separate/EtoApp.1.WinForms/EtoApp.1.WinForms.fsproj @@ -2,8 +2,8 @@ WinExe - net5.0-windows - net5.0 + net6.0-windows + net6.0 TargetFrameworkOverride-windows TargetFrameworkOverride EtoApp._1.WinForms diff --git a/src/Eto.Forms.Templates/content/App-FSharp/Separate/EtoApp.1.Wpf/EtoApp.1.Wpf.fsproj b/src/Eto.Forms.Templates/content/App-FSharp/Separate/EtoApp.1.Wpf/EtoApp.1.Wpf.fsproj index 48a21fc48b..d90de0e87e 100755 --- a/src/Eto.Forms.Templates/content/App-FSharp/Separate/EtoApp.1.Wpf/EtoApp.1.Wpf.fsproj +++ b/src/Eto.Forms.Templates/content/App-FSharp/Separate/EtoApp.1.Wpf/EtoApp.1.Wpf.fsproj @@ -2,8 +2,8 @@ WinExe - net5.0-windows - net5.0 + net6.0-windows + net6.0 TargetFrameworkOverride-windows TargetFrameworkOverride EtoApp._1.Wpf diff --git a/src/Eto.Forms.Templates/content/App-VisualBasic/.template.config/template.json b/src/Eto.Forms.Templates/content/App-VisualBasic/.template.config/template.json index 5ab15ac0a8..bdabaae422 100755 --- a/src/Eto.Forms.Templates/content/App-VisualBasic/.template.config/template.json +++ b/src/Eto.Forms.Templates/content/App-VisualBasic/.template.config/template.json @@ -72,8 +72,8 @@ "type": "parameter", "description": "Specify the framework(s) to support", "dataType": "choice", - "defaultValue": "net5.0", - "replaces": "net5.0", + "defaultValue": "net6.0", + "replaces": "net6.0", "choices": [ { "choice": "net6.0", diff --git a/src/Eto.Forms.Templates/content/App-VisualBasic/EtoApp.1/EtoApp.1.vbproj b/src/Eto.Forms.Templates/content/App-VisualBasic/EtoApp.1/EtoApp.1.vbproj index e099d73833..c85529d1ae 100755 --- a/src/Eto.Forms.Templates/content/App-VisualBasic/EtoApp.1/EtoApp.1.vbproj +++ b/src/Eto.Forms.Templates/content/App-VisualBasic/EtoApp.1/EtoApp.1.vbproj @@ -8,7 +8,7 @@ --> - net5.0 + net6.0 TargetFrameworkOverride EtoApp._1 diff --git a/src/Eto.Forms.Templates/content/App-VisualBasic/Separate/EtoApp.1.Gtk/EtoApp.1.Gtk.vbproj b/src/Eto.Forms.Templates/content/App-VisualBasic/Separate/EtoApp.1.Gtk/EtoApp.1.Gtk.vbproj index ae95f72301..5dd39124ae 100755 --- a/src/Eto.Forms.Templates/content/App-VisualBasic/Separate/EtoApp.1.Gtk/EtoApp.1.Gtk.vbproj +++ b/src/Eto.Forms.Templates/content/App-VisualBasic/Separate/EtoApp.1.Gtk/EtoApp.1.Gtk.vbproj @@ -2,7 +2,7 @@ WinExe - net5.0 + net6.0 TargetFrameworkOverride EtoApp._1 diff --git a/src/Eto.Forms.Templates/content/App-VisualBasic/Separate/EtoApp.1.Mac/EtoApp.1.Mac.vbproj b/src/Eto.Forms.Templates/content/App-VisualBasic/Separate/EtoApp.1.Mac/EtoApp.1.Mac.vbproj index 7a42b579e2..7641e652ac 100755 --- a/src/Eto.Forms.Templates/content/App-VisualBasic/Separate/EtoApp.1.Mac/EtoApp.1.Mac.vbproj +++ b/src/Eto.Forms.Templates/content/App-VisualBasic/Separate/EtoApp.1.Mac/EtoApp.1.Mac.vbproj @@ -2,11 +2,11 @@ Exe - net5.0 + net6.0 TargetFrameworkOverride EtoApp._1 - osx-x64 + osx-x64;osx-arm64 diff --git a/src/Eto.Forms.Templates/content/App-VisualBasic/Separate/EtoApp.1.WinForms/EtoApp.1.WinForms.vbproj b/src/Eto.Forms.Templates/content/App-VisualBasic/Separate/EtoApp.1.WinForms/EtoApp.1.WinForms.vbproj index a4fde130e5..6c228c7db0 100755 --- a/src/Eto.Forms.Templates/content/App-VisualBasic/Separate/EtoApp.1.WinForms/EtoApp.1.WinForms.vbproj +++ b/src/Eto.Forms.Templates/content/App-VisualBasic/Separate/EtoApp.1.WinForms/EtoApp.1.WinForms.vbproj @@ -2,8 +2,8 @@ WinExe - net5.0-windows - net5.0 + net6.0-windows + net6.0 TargetFrameworkOverride-windows TargetFrameworkOverride EtoApp._1 diff --git a/src/Eto.Forms.Templates/content/App-VisualBasic/Separate/EtoApp.1.Wpf/EtoApp.1.Wpf.vbproj b/src/Eto.Forms.Templates/content/App-VisualBasic/Separate/EtoApp.1.Wpf/EtoApp.1.Wpf.vbproj index d6d5f45baa..fb77367d3f 100755 --- a/src/Eto.Forms.Templates/content/App-VisualBasic/Separate/EtoApp.1.Wpf/EtoApp.1.Wpf.vbproj +++ b/src/Eto.Forms.Templates/content/App-VisualBasic/Separate/EtoApp.1.Wpf/EtoApp.1.Wpf.vbproj @@ -2,8 +2,8 @@ WinExe - net5.0-windows - net5.0 + net6.0-windows + net6.0 TargetFrameworkOverride-windows TargetFrameworkOverride EtoApp._1 diff --git a/src/Eto.Mac/build/BundleDotNetCore.targets b/src/Eto.Mac/build/BundleDotNetCore.targets index 72d7c9c346..835faa741a 100644 --- a/src/Eto.Mac/build/BundleDotNetCore.targets +++ b/src/Eto.Mac/build/BundleDotNetCore.targets @@ -26,9 +26,12 @@ + + <_FullBaseOutputAppPath>$([System.IO.Path]::GetFullPath('$(BaseOutputAppPath)')) + - + diff --git a/src/Eto.Mac/build/Dmg.targets b/src/Eto.Mac/build/Dmg.targets index adc8a301a6..caac4c3f68 100644 --- a/src/Eto.Mac/build/Dmg.targets +++ b/src/Eto.Mac/build/Dmg.targets @@ -74,7 +74,8 @@ - + + $(MSBuildProjectDirectory)\$(DmgBackgroundImage) diff --git a/src/Eto.sln b/src/Eto.sln index e408a23153..19f49c18cb 100644 --- a/src/Eto.sln +++ b/src/Eto.sln @@ -68,6 +68,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "generator", "..\lib\monomac EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Eto.Forms.Templates", "Eto.Forms.Templates\Eto.Forms.Templates.csproj", "{AC238CEB-D54C-4DC5-A141-C3B8CC0E384D}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Eto.macOS", "Eto.Mac\Eto.macOS.csproj", "{0C899B62-5F6D-4B12-AA52-814AF3B69AF9}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Eto.Test.macOS", "..\test\Eto.Test.Mac\Eto.Test.macOS.csproj", "{A5237C58-9EF0-4A34-A1F6-9D4C394A7EE4}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Linux = Debug|Linux @@ -330,11 +334,28 @@ Global {AC238CEB-D54C-4DC5-A141-C3B8CC0E384D}.Release|Mac.Build.0 = Release|Any CPU {AC238CEB-D54C-4DC5-A141-C3B8CC0E384D}.Release|Windows.ActiveCfg = Release|Any CPU {AC238CEB-D54C-4DC5-A141-C3B8CC0E384D}.Release|Windows.Build.0 = Release|Any CPU + {0C899B62-5F6D-4B12-AA52-814AF3B69AF9}.Debug|Linux.ActiveCfg = Debug|Any CPU + {0C899B62-5F6D-4B12-AA52-814AF3B69AF9}.Debug|Mac.ActiveCfg = Debug|Any CPU + {0C899B62-5F6D-4B12-AA52-814AF3B69AF9}.Debug|Mac.Build.0 = Debug|Any CPU + {0C899B62-5F6D-4B12-AA52-814AF3B69AF9}.Debug|Windows.ActiveCfg = Debug|Any CPU + {0C899B62-5F6D-4B12-AA52-814AF3B69AF9}.Release|Linux.ActiveCfg = Release|Any CPU + {0C899B62-5F6D-4B12-AA52-814AF3B69AF9}.Release|Mac.ActiveCfg = Release|Any CPU + {0C899B62-5F6D-4B12-AA52-814AF3B69AF9}.Release|Mac.Build.0 = Release|Any CPU + {0C899B62-5F6D-4B12-AA52-814AF3B69AF9}.Release|Windows.ActiveCfg = Release|Any CPU + {A5237C58-9EF0-4A34-A1F6-9D4C394A7EE4}.Debug|Linux.ActiveCfg = Debug|Any CPU + {A5237C58-9EF0-4A34-A1F6-9D4C394A7EE4}.Debug|Mac.ActiveCfg = Debug|Any CPU + {A5237C58-9EF0-4A34-A1F6-9D4C394A7EE4}.Debug|Mac.Build.0 = Debug|Any CPU + {A5237C58-9EF0-4A34-A1F6-9D4C394A7EE4}.Debug|Windows.ActiveCfg = Debug|Any CPU + {A5237C58-9EF0-4A34-A1F6-9D4C394A7EE4}.Release|Linux.ActiveCfg = Release|Any CPU + {A5237C58-9EF0-4A34-A1F6-9D4C394A7EE4}.Release|Mac.ActiveCfg = Release|Any CPU + {A5237C58-9EF0-4A34-A1F6-9D4C394A7EE4}.Release|Mac.Build.0 = Release|Any CPU + {A5237C58-9EF0-4A34-A1F6-9D4C394A7EE4}.Release|Windows.ActiveCfg = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution + {A5237C58-9EF0-4A34-A1F6-9D4C394A7EE4} = {E121B009-AB4B-4585-B3FB-D70E3DF8D3CC} {DD0C2B40-CA55-11E3-9C1A-0800200C9A66} = {E121B009-AB4B-4585-B3FB-D70E3DF8D3CC} {B5BC1D10-24ED-441C-A4D6-1F3AB9FF3689} = {E121B009-AB4B-4585-B3FB-D70E3DF8D3CC} {063AF7E7-18BD-488F-85BF-53B6E3D75685} = {E121B009-AB4B-4585-B3FB-D70E3DF8D3CC} diff --git a/src/Eto/sdk/Sdk.targets b/src/Eto/sdk/Sdk.targets index 1e9cf00d1e..b75feaeb06 100755 --- a/src/Eto/sdk/Sdk.targets +++ b/src/Eto/sdk/Sdk.targets @@ -4,14 +4,16 @@ Windows True + True Wpf Windows - Mac64 + Mac64 XamMac2 + MacOS Gtk @@ -19,8 +21,8 @@ <_TfmSuffix Condition="$(BuildPlatform) == 'Wpf' or $(BuildPlatform) == 'Windows'">-windows - - <_TfmSuffix Condition="$(BuildPlatform) == 'XamMac2'">-macos + + <_TfmSuffix Condition="$(BuildPlatform) == 'MacOS'">-macos WinExe @@ -66,12 +68,12 @@ - osx-x64;osx-arm64 + osx-x64;osx-arm64 win-x64 linux-x64 - + diff --git a/test/Eto.Test.Mac/Eto.Test.XamMac2.csproj b/test/Eto.Test.Mac/Eto.Test.XamMac2.csproj index 6627d3aaf6..680bff1fa1 100644 --- a/test/Eto.Test.Mac/Eto.Test.XamMac2.csproj +++ b/test/Eto.Test.Mac/Eto.Test.XamMac2.csproj @@ -10,12 +10,13 @@ Mac Developer 3rd Party Mac Developer Installer --nowarn:2006 --nowarn:0176 + $(MonoBundlingExtraArgs) --registrar:dynamic XAMMAC;XAMMAC2 10.15 CA1416 - + SdkOnly @@ -45,6 +46,6 @@ - + \ No newline at end of file diff --git a/test/Eto.Test.Mac/Eto.Test.macOS.csproj b/test/Eto.Test.Mac/Eto.Test.macOS.csproj index 09efa8fbec..1f1ee9960a 100644 --- a/test/Eto.Test.Mac/Eto.Test.macOS.csproj +++ b/test/Eto.Test.Mac/Eto.Test.macOS.csproj @@ -3,7 +3,7 @@ Exe net6.0-macos - osx-arm64 + osx-x64;osx-arm64 Eto.Test.Mac False False