From edd639317641055be64d7a851706f74296306fbc Mon Sep 17 00:00:00 2001 From: Peyman M <16763358+peymanr34@users.noreply.github.com> Date: Fri, 15 Jul 2022 04:08:53 +0430 Subject: [PATCH 1/4] Migrate to the sdk-style project file. --- ImageListView/ImageListView.csproj | 278 +++++------------- .../WPFThumbnailExtractor.csproj | 59 +--- 2 files changed, 90 insertions(+), 247 deletions(-) diff --git a/ImageListView/ImageListView.csproj b/ImageListView/ImageListView.csproj index 6ccb0f90..0335b4d5 100644 --- a/ImageListView/ImageListView.csproj +++ b/ImageListView/ImageListView.csproj @@ -1,220 +1,96 @@ - - + + - Debug - AnyCPU - 9.0.30729 - 2.0 - {0C295FB8-C6C6-4A40-9F19-05A43F353A04} - Library - Properties - Manina.Windows.Forms - ImageListView - v3.5 - 512 - - - 3.5 - + net35 + Library + Manina.Windows.Forms + + + true + false + true + + - true - full - false - bin\Debug\ - TRACE;DEBUG;BONUSPACK;USEWIC;BENCHMARK - prompt - 4 - - + TRACE;DEBUG;BONUSPACK;USEWIC;BENCHMARK + + - pdbonly - true - bin\Release\ - TRACE;USEWIC - prompt - 4 - false - bin\Release\ImageListView.xml + TRACE;USEWIC + false + bin\Release\ImageListView.xml + - true - bin\Debug without WPF\ - TRACE;DEBUG;BONUSPACK;BENCHMARK - full - AnyCPU - prompt - MinimumRecommendedRules.ruleset + true + bin\Debug without WPF\ + TRACE;DEBUG;BONUSPACK;BENCHMARK + MinimumRecommendedRules.ruleset + - bin\Release without WPF\ - TRACE - bin\Release\ImageListView.xml - true - pdbonly - AnyCPU - false - prompt - MinimumRecommendedRules.ruleset - 0 + bin\Release without WPF\ + bin\Release\ImageListView.xml + true + false + MinimumRecommendedRules.ruleset + 0 + - - - - - - 3.0 - - - - - - - - - Component - - - - - - - Component - - - Component - - - - - - - - Component - - - - - - - - Component - - - - Component - - - - True - True - ImageListViewResources.de.resx - - - ImageListViewResources.tr.resx - True - True - - - - - - Component - - - - Component - - - Component - - - - - - Component - - - - - Component - - - Component - - - Component - - - - True - True - ImageListViewResources.resx - - - - - - - - - ResXFileCodeGenerator - ImageListViewResources.de.Designer.cs - Designer - - - ResXFileCodeGenerator - ImageListViewResources.tr.Designer.cs - Designer - - - - ResXFileCodeGenerator - ImageListViewResources.Designer.cs - Designer - - - - - - - - - - - - - - - - - - - - - - - - - + + - + + Component + + + Component + + + Component + + + Component + + + Component + + + Component + + + Component + + + Component + + + Component + + + Component + + + Component + + + Component + + + Component + + - + + - + - - + \ No newline at end of file diff --git a/WPFThumbnailExtractor/WPFThumbnailExtractor.csproj b/WPFThumbnailExtractor/WPFThumbnailExtractor.csproj index dda59f7f..6dd56cf0 100644 --- a/WPFThumbnailExtractor/WPFThumbnailExtractor.csproj +++ b/WPFThumbnailExtractor/WPFThumbnailExtractor.csproj @@ -1,52 +1,19 @@ - - - + + - Debug - AnyCPU - {819A4362-3A60-4FEA-B193-5BAA2FAFFC3F} - Library - Properties - Manina.Windows.Forms - WPFThumbnailExtractor - v3.5 - 512 - + net35 + Library + Manina.Windows.Forms - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + + + true + false + true + - - - - - - - - - - - - - - {0c295fb8-c6c6-4a40-9f19-05a43f353a04} - ImageListView - + - + \ No newline at end of file From f517c25cabc5c29f7f073170adf147e7a617840e Mon Sep 17 00:00:00 2001 From: Peyman M <16763358+peymanr34@users.noreply.github.com> Date: Fri, 15 Jul 2022 04:15:30 +0430 Subject: [PATCH 2/4] Add the net6.0 target framework. --- ImageListView/ImageListView.csproj | 4 ++-- WPFThumbnailExtractor/WPFThumbnailExtractor.csproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ImageListView/ImageListView.csproj b/ImageListView/ImageListView.csproj index 0335b4d5..3f224b41 100644 --- a/ImageListView/ImageListView.csproj +++ b/ImageListView/ImageListView.csproj @@ -1,7 +1,7 @@  - net35 + net35;net6.0-windows Library Manina.Windows.Forms @@ -39,7 +39,7 @@ 0 - + diff --git a/WPFThumbnailExtractor/WPFThumbnailExtractor.csproj b/WPFThumbnailExtractor/WPFThumbnailExtractor.csproj index 6dd56cf0..54a67982 100644 --- a/WPFThumbnailExtractor/WPFThumbnailExtractor.csproj +++ b/WPFThumbnailExtractor/WPFThumbnailExtractor.csproj @@ -1,7 +1,7 @@  - net35 + net35;net6.0-windows Library Manina.Windows.Forms From 1c60f1217cb85d3eeda1f406f0c25edd2f7cf0d1 Mon Sep 17 00:00:00 2001 From: Peyman M <16763358+peymanr34@users.noreply.github.com> Date: Fri, 12 Aug 2022 02:26:40 +0430 Subject: [PATCH 3/4] Add the GenerateDocumentationFile property. --- ImageListView/ImageListView.csproj | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ImageListView/ImageListView.csproj b/ImageListView/ImageListView.csproj index 3f224b41..daa140bf 100644 --- a/ImageListView/ImageListView.csproj +++ b/ImageListView/ImageListView.csproj @@ -12,15 +12,17 @@ true + + true + + TRACE;DEBUG;BONUSPACK;USEWIC;BENCHMARK - TRACE;USEWIC false - bin\Release\ImageListView.xml @@ -32,7 +34,6 @@ bin\Release without WPF\ - bin\Release\ImageListView.xml true false MinimumRecommendedRules.ruleset From 9ae6e12d8ddc46210403a5c483d9cea5b71bd9c5 Mon Sep 17 00:00:00 2001 From: Peyman M <16763358+peymanr34@users.noreply.github.com> Date: Fri, 12 Aug 2022 02:54:19 +0430 Subject: [PATCH 4/4] Add the dotnet analyzers. --- ImageListView/ImageListView.csproj | 13 ++++++++++--- WPFThumbnailExtractor/WPFThumbnailExtractor.csproj | 9 +++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/ImageListView/ImageListView.csproj b/ImageListView/ImageListView.csproj index daa140bf..d931296e 100644 --- a/ImageListView/ImageListView.csproj +++ b/ImageListView/ImageListView.csproj @@ -12,7 +12,16 @@ true - + + latest + true + + + + $(NoWarn);CA1416 + + + true @@ -29,14 +38,12 @@ true bin\Debug without WPF\ TRACE;DEBUG;BONUSPACK;BENCHMARK - MinimumRecommendedRules.ruleset bin\Release without WPF\ true false - MinimumRecommendedRules.ruleset 0 diff --git a/WPFThumbnailExtractor/WPFThumbnailExtractor.csproj b/WPFThumbnailExtractor/WPFThumbnailExtractor.csproj index 54a67982..155371c2 100644 --- a/WPFThumbnailExtractor/WPFThumbnailExtractor.csproj +++ b/WPFThumbnailExtractor/WPFThumbnailExtractor.csproj @@ -12,6 +12,15 @@ true + + latest + true + + + + $(NoWarn);CA1416 + +