From 50dcd97611438540d159bd1512088f1361a30799 Mon Sep 17 00:00:00 2001 From: Davide Giacometti Date: Tue, 24 Nov 2020 15:55:31 +0100 Subject: [PATCH] [FancyZones Editor] Porting .NET Core 3.1 (#8122) * fancy zones editor porting core 3.1 * fix build * removed native image * fancy zones editor dll sign --- .pipelines/pipeline.user.windows.yml | 1 + PowerToys.sln | 2 +- installer/PowerToysSetup/Product.wxs | 17 +- .../FancyZonesEditor/FancyZonesEditor.csproj | 300 +++--------------- 4 files changed, 56 insertions(+), 264 deletions(-) diff --git a/.pipelines/pipeline.user.windows.yml b/.pipelines/pipeline.user.windows.yml index 503fcec786..7eda165e1e 100644 --- a/.pipelines/pipeline.user.windows.yml +++ b/.pipelines/pipeline.user.windows.yml @@ -72,6 +72,7 @@ build: - '**\*.resources.dll' - 'modules\FancyZones\fancyzones.dll' - 'modules\FancyZones\FancyZonesEditor.exe' + - 'modules\FancyZones\FancyZonesEditor.dll' - 'modules\FancyZones\ManagedCommon.dll' - 'modules\FancyZones\Telemetry.dll' - 'modules\FileExplorerPreview\MarkdownPreviewHandler.dll' diff --git a/PowerToys.sln b/PowerToys.sln index 83317057c7..6bc767152c 100644 --- a/PowerToys.sln +++ b/PowerToys.sln @@ -74,7 +74,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "UnitTests-CommonLib", "src\ {74485049-C722-400F-ABE5-86AC52D929B3} = {74485049-C722-400F-ABE5-86AC52D929B3} EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FancyZonesEditor", "src\modules\fancyzones\editor\FancyZonesEditor\FancyZonesEditor.csproj", "{5CCC8468-DEC8-4D36-99D4-5C891BEBD481}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FancyZonesEditor", "src\modules\fancyzones\editor\FancyZonesEditor\FancyZonesEditor.csproj", "{5CCC8468-DEC8-4D36-99D4-5C891BEBD481}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "powerrename", "powerrename", "{89E20BCE-EB9C-46C8-8B50-E01A82E6FDC3}" EndProject diff --git a/installer/PowerToysSetup/Product.wxs b/installer/PowerToysSetup/Product.wxs index e68c840dda..8f00bcb3a3 100644 --- a/installer/PowerToysSetup/Product.wxs +++ b/installer/PowerToysSetup/Product.wxs @@ -368,23 +368,14 @@ - - - + + + - - - - - - - - - - + diff --git a/src/modules/fancyzones/editor/FancyZonesEditor/FancyZonesEditor.csproj b/src/modules/fancyzones/editor/FancyZonesEditor/FancyZonesEditor.csproj index 94931136e9..88df54f3fe 100644 --- a/src/modules/fancyzones/editor/FancyZonesEditor/FancyZonesEditor.csproj +++ b/src/modules/fancyzones/editor/FancyZonesEditor/FancyZonesEditor.csproj @@ -1,284 +1,75 @@ - - - + - FancyZonesEditor PowerToys FancyZones Editor + PowerToys FancyZones Editor + Copyright (C) 2020 Microsoft Corporation Microsoft Corp. Copyright (C) 2020 Microsoft Corporation PowerToys - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Debug - AnyCPU - {5CCC8468-DEC8-4D36-99D4-5C891BEBD481} + Microsoft Corp. + PowerToys + en-US + $(Version).0 + x64 WinExe - FancyZonesEditor - FancyZonesEditor - v4.7.2 - 512 + true + true + false + false + + + + {5CCC8468-DEC8-4D36-99D4-5C891BEBD481} + netcoreapp3.1 {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 4 true - - - $(SolutionDir)$(Platform)\$(Configuration)\obj\$(AssemblyName)\ - - x64 - true - full - false - ..\..\..\..\..\x64\Debug\modules\FancyZones - DEBUG;TRACE - prompt - 4 - false - ..\..\..\..\codeAnalysis\Rules.ruleset - false - - - x64 - pdbonly - true - $(SolutionDir)$(Platform)\$(Configuration)\modules\FancyZones - TRACE - prompt - 4 - false - ..\..\..\..\codeAnalysis\Rules.ruleset - - - true - + true + true + x64 + $(SolutionDir)$(Platform)\$(Configuration)\modules\FancyZones + + + true + false + x64 + ..\..\..\..\..\x64\Debug\modules\FancyZones + + images\FancyZonesEditor.ico app.manifest + - - - - - - - - - - - - - - - 4.0 - - - - + - - MSBuild:Compile - Designer - - - GlobalSuppressions.cs - - - - - - - LayoutOverlayWindow.xaml - - - - - - - - - CanvasEditor.xaml - - - - GridEditor.xaml - - - GridResizer.xaml - - - LayoutPreview.xaml - - - - - - - - - - GridEditorWindow.xaml - - - - - - - - - - - - - WindowLayout.xaml - - - CanvasEditorWindow.xaml - - - CanvasZone.xaml - - - GridZone.xaml - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - MSBuild:Compile - Designer - - - App.xaml - Code - - - MainWindow.xaml - Code - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - MSBuild:Compile - Designer - - - Designer - MSBuild:Compile - - - - - Code - - - True - True - Resources.resx - - - True - Settings.settings - True - - + PublicResXFileCodeGenerator Resources.Designer.cs - - SettingsSingleFileGenerator - Settings.Designer.cs - StyleCop.json - - - 2.3.2 - - - 12.2.5 - - - 6.6.30107 - - - 4.7.2 - - - 1.1.118 - runtime; build; native; contentfiles; analyzers; buildtransitive + + + + all @@ -293,10 +84,19 @@ - - {4AED67B6-55FD-486F-B917-E543DEE2CB3C} - ManagedCommon - + + + + + True + True + Settings.settings + + + + + SettingsSingleFileGenerator + Settings.Designer.cs + - \ No newline at end of file