From d9ad4d56c1f3eca1c91757441107232cb4ad407d Mon Sep 17 00:00:00 2001 From: Liam Sho Date: Wed, 22 Sep 2021 23:24:50 +0800 Subject: [PATCH] Change target frameworks and update dependencies Set CmlLib target to netstandard 2.0 and update its dependencies. Set CmlLibCoreSample target to net5.0. Set CmlLibWinFormSample target to netframework 4.7.2. --- CmlLib/CmlLib.csproj | 10 +++++----- CmlLibCoreSample/CmlLibCoreSample.csproj | 2 +- CmlLibWinFormSample/App.config | 2 +- CmlLibWinFormSample/CmlLibWinFormSample.csproj | 6 +++++- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/CmlLib/CmlLib.csproj b/CmlLib/CmlLib.csproj index 2dd041f..559dbc1 100644 --- a/CmlLib/CmlLib.csproj +++ b/CmlLib/CmlLib.csproj @@ -1,7 +1,7 @@ - + - netcoreapp3.1;net462;net5.0 + netstandard2.0 8.0 enable 3.3.2 @@ -25,7 +25,7 @@ Support all version, forge, optifine all - + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -33,8 +33,8 @@ Support all version, forge, optifine all - - + + diff --git a/CmlLibCoreSample/CmlLibCoreSample.csproj b/CmlLibCoreSample/CmlLibCoreSample.csproj index fe782b4..e77fc62 100644 --- a/CmlLibCoreSample/CmlLibCoreSample.csproj +++ b/CmlLibCoreSample/CmlLibCoreSample.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp3.1 + net5.0 diff --git a/CmlLibWinFormSample/App.config b/CmlLibWinFormSample/App.config index 8d23437..ecdcf8a 100644 --- a/CmlLibWinFormSample/App.config +++ b/CmlLibWinFormSample/App.config @@ -1,6 +1,6 @@ - + diff --git a/CmlLibWinFormSample/CmlLibWinFormSample.csproj b/CmlLibWinFormSample/CmlLibWinFormSample.csproj index 6886ec4..3464e0d 100644 --- a/CmlLibWinFormSample/CmlLibWinFormSample.csproj +++ b/CmlLibWinFormSample/CmlLibWinFormSample.csproj @@ -8,10 +8,11 @@ WinExe CmlLibWinFormSample CmlLibWinFormSample - v4.6.2 + v4.7.2 512 true + PackageReference AnyCPU @@ -32,6 +33,9 @@ prompt 4 + + +