From b0d5a649b43e1b7dd5d0267049a77c26f5f3b64f Mon Sep 17 00:00:00 2001 From: JiaGuangli <1511313969@qq.com> Date: Thu, 6 Jun 2024 15:48:09 +0800 Subject: [PATCH 1/2] net 6 to net 8 upgrade --- AdapterPattern/AdapterPattern.csproj | 2 +- BridgePattern/BridgePattern.csproj | 2 +- BuilderPattern/BuilderPattern.csproj | 2 +- CommandPattern/CommandPattern.csproj | 2 +- CompositePattern/CompositePattern.csproj | 2 +- DecoratorPattern/DecoratorPattern.csproj | 2 +- FacadePattern/FacadePattern.csproj | 2 +- FactoryPattern/FactoryPattern.csproj | 2 +- FlyweightPattern/FlyweightPattern.csproj | 2 +- IteratorPattern/IteratorPattern.csproj | 2 +- MediatorPattern/MediatorPattern.csproj | 2 +- ObserverPattern/ObserverPattern.csproj | 2 +- PrototypePattern/PrototypePattern.csproj | 2 +- ProxyPattern/ProxyPattern.csproj | 2 +- SingletonPattern.Tests/SingletonPattern.Tests.csproj | 2 +- SingletonPattern/SingletonPattern.csproj | 2 +- StatePattern/StatePattern.csproj | 2 +- StrategyPattern/StrategyPattern.csproj | 2 +- TemplatePattern/TemplatePattern.csproj | 2 +- VisitorPattern/VisitorPattern.csproj | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/AdapterPattern/AdapterPattern.csproj b/AdapterPattern/AdapterPattern.csproj index 74abf5c..91b464a 100644 --- a/AdapterPattern/AdapterPattern.csproj +++ b/AdapterPattern/AdapterPattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/BridgePattern/BridgePattern.csproj b/BridgePattern/BridgePattern.csproj index 74abf5c..91b464a 100644 --- a/BridgePattern/BridgePattern.csproj +++ b/BridgePattern/BridgePattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/BuilderPattern/BuilderPattern.csproj b/BuilderPattern/BuilderPattern.csproj index 74abf5c..91b464a 100644 --- a/BuilderPattern/BuilderPattern.csproj +++ b/BuilderPattern/BuilderPattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/CommandPattern/CommandPattern.csproj b/CommandPattern/CommandPattern.csproj index 74abf5c..91b464a 100644 --- a/CommandPattern/CommandPattern.csproj +++ b/CommandPattern/CommandPattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/CompositePattern/CompositePattern.csproj b/CompositePattern/CompositePattern.csproj index 74abf5c..91b464a 100644 --- a/CompositePattern/CompositePattern.csproj +++ b/CompositePattern/CompositePattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/DecoratorPattern/DecoratorPattern.csproj b/DecoratorPattern/DecoratorPattern.csproj index 74abf5c..91b464a 100644 --- a/DecoratorPattern/DecoratorPattern.csproj +++ b/DecoratorPattern/DecoratorPattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/FacadePattern/FacadePattern.csproj b/FacadePattern/FacadePattern.csproj index 74abf5c..91b464a 100644 --- a/FacadePattern/FacadePattern.csproj +++ b/FacadePattern/FacadePattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/FactoryPattern/FactoryPattern.csproj b/FactoryPattern/FactoryPattern.csproj index 74abf5c..91b464a 100644 --- a/FactoryPattern/FactoryPattern.csproj +++ b/FactoryPattern/FactoryPattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/FlyweightPattern/FlyweightPattern.csproj b/FlyweightPattern/FlyweightPattern.csproj index 74abf5c..91b464a 100644 --- a/FlyweightPattern/FlyweightPattern.csproj +++ b/FlyweightPattern/FlyweightPattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/IteratorPattern/IteratorPattern.csproj b/IteratorPattern/IteratorPattern.csproj index 74abf5c..91b464a 100644 --- a/IteratorPattern/IteratorPattern.csproj +++ b/IteratorPattern/IteratorPattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/MediatorPattern/MediatorPattern.csproj b/MediatorPattern/MediatorPattern.csproj index 74abf5c..91b464a 100644 --- a/MediatorPattern/MediatorPattern.csproj +++ b/MediatorPattern/MediatorPattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/ObserverPattern/ObserverPattern.csproj b/ObserverPattern/ObserverPattern.csproj index 74abf5c..91b464a 100644 --- a/ObserverPattern/ObserverPattern.csproj +++ b/ObserverPattern/ObserverPattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/PrototypePattern/PrototypePattern.csproj b/PrototypePattern/PrototypePattern.csproj index 74abf5c..91b464a 100644 --- a/PrototypePattern/PrototypePattern.csproj +++ b/PrototypePattern/PrototypePattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/ProxyPattern/ProxyPattern.csproj b/ProxyPattern/ProxyPattern.csproj index 74abf5c..91b464a 100644 --- a/ProxyPattern/ProxyPattern.csproj +++ b/ProxyPattern/ProxyPattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/SingletonPattern.Tests/SingletonPattern.Tests.csproj b/SingletonPattern.Tests/SingletonPattern.Tests.csproj index ec8a874..d2af2f1 100644 --- a/SingletonPattern.Tests/SingletonPattern.Tests.csproj +++ b/SingletonPattern.Tests/SingletonPattern.Tests.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 enable enable diff --git a/SingletonPattern/SingletonPattern.csproj b/SingletonPattern/SingletonPattern.csproj index 74abf5c..91b464a 100644 --- a/SingletonPattern/SingletonPattern.csproj +++ b/SingletonPattern/SingletonPattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/StatePattern/StatePattern.csproj b/StatePattern/StatePattern.csproj index 74abf5c..91b464a 100644 --- a/StatePattern/StatePattern.csproj +++ b/StatePattern/StatePattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/StrategyPattern/StrategyPattern.csproj b/StrategyPattern/StrategyPattern.csproj index 74abf5c..91b464a 100644 --- a/StrategyPattern/StrategyPattern.csproj +++ b/StrategyPattern/StrategyPattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/TemplatePattern/TemplatePattern.csproj b/TemplatePattern/TemplatePattern.csproj index 74abf5c..91b464a 100644 --- a/TemplatePattern/TemplatePattern.csproj +++ b/TemplatePattern/TemplatePattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/VisitorPattern/VisitorPattern.csproj b/VisitorPattern/VisitorPattern.csproj index 74abf5c..91b464a 100644 --- a/VisitorPattern/VisitorPattern.csproj +++ b/VisitorPattern/VisitorPattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable From 948ebcecdc88c504a094594649a7eeeca8d6f702 Mon Sep 17 00:00:00 2001 From: JiaGuangli <1511313969@qq.com> Date: Thu, 6 Jun 2024 16:01:43 +0800 Subject: [PATCH 2/2] net 6 to net 8 upgrade --- .../ChainOfResponsibilityPattern.csproj | 2 +- DesignPatternsDotNetCore.sln | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/ChainOfResponsibilityPattern/ChainOfResponsibilityPattern.csproj b/ChainOfResponsibilityPattern/ChainOfResponsibilityPattern.csproj index 74abf5c..91b464a 100644 --- a/ChainOfResponsibilityPattern/ChainOfResponsibilityPattern.csproj +++ b/ChainOfResponsibilityPattern/ChainOfResponsibilityPattern.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/DesignPatternsDotNetCore.sln b/DesignPatternsDotNetCore.sln index 3a7677a..c10a3cc 100644 --- a/DesignPatternsDotNetCore.sln +++ b/DesignPatternsDotNetCore.sln @@ -42,6 +42,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ProxyPattern", "ProxyPatter EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SingletonPattern.Tests", "SingletonPattern.Tests\SingletonPattern.Tests.csproj", "{7A21A074-AEBB-4B33-80BA-D7DFBE87A449}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChainOfResponsibilityPattern", "ChainOfResponsibilityPattern\ChainOfResponsibilityPattern.csproj", "{4A278E35-B0F5-4039-8422-671FB22B1F2F}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -292,6 +294,18 @@ Global {7A21A074-AEBB-4B33-80BA-D7DFBE87A449}.Release|x64.Build.0 = Release|Any CPU {7A21A074-AEBB-4B33-80BA-D7DFBE87A449}.Release|x86.ActiveCfg = Release|Any CPU {7A21A074-AEBB-4B33-80BA-D7DFBE87A449}.Release|x86.Build.0 = Release|Any CPU + {4A278E35-B0F5-4039-8422-671FB22B1F2F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4A278E35-B0F5-4039-8422-671FB22B1F2F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4A278E35-B0F5-4039-8422-671FB22B1F2F}.Debug|x64.ActiveCfg = Debug|Any CPU + {4A278E35-B0F5-4039-8422-671FB22B1F2F}.Debug|x64.Build.0 = Debug|Any CPU + {4A278E35-B0F5-4039-8422-671FB22B1F2F}.Debug|x86.ActiveCfg = Debug|Any CPU + {4A278E35-B0F5-4039-8422-671FB22B1F2F}.Debug|x86.Build.0 = Debug|Any CPU + {4A278E35-B0F5-4039-8422-671FB22B1F2F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4A278E35-B0F5-4039-8422-671FB22B1F2F}.Release|Any CPU.Build.0 = Release|Any CPU + {4A278E35-B0F5-4039-8422-671FB22B1F2F}.Release|x64.ActiveCfg = Release|Any CPU + {4A278E35-B0F5-4039-8422-671FB22B1F2F}.Release|x64.Build.0 = Release|Any CPU + {4A278E35-B0F5-4039-8422-671FB22B1F2F}.Release|x86.ActiveCfg = Release|Any CPU + {4A278E35-B0F5-4039-8422-671FB22B1F2F}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE