From 539e6dfac9b91d376441e21e98f7bf115e27f01d Mon Sep 17 00:00:00 2001 From: Kouji Matsui Date: Mon, 23 Oct 2023 14:44:02 +0900 Subject: [PATCH 1/6] Adjusted building props. --- Directory.Build.props | 7 +++++-- build-nupkg.bat | 4 ++-- build-nupkg.sh | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 056da42..8386d2c 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -3,6 +3,7 @@ true false + true latest Enable true @@ -25,7 +26,7 @@ ILCompose.100.png ilasm;compose;mixin;ilsupport;inline-asm;cil;msil .pdb - $(NoWarn);NU1605;NU1701;NU1803;NU1503;CA1416 + $(NoWarn);NU1503;NU1605;NU1701;NU1803;NU1902;NU1903;CA1416 @@ -40,10 +41,12 @@ true true true + $([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)')) + $(RepoRoot)=. - + diff --git a/build-nupkg.bat b/build-nupkg.bat index cd07383..5a8c4e2 100644 --- a/build-nupkg.bat +++ b/build-nupkg.bat @@ -12,5 +12,5 @@ echo. rem git clean -xfd -dotnet restore -dotnet pack -p:Configuration=Release -p:Platform=AnyCPU -o artifacts ILCompose\ILCompose.csproj +dotnet build -p:Configuration=Release -p:Platform="Any CPU" -p:RestoreNoCache=True ILCompose.sln +dotnet pack -p:Configuration=Release -p:Platform="Any CPU" -o artifacts ILCompose.csproj diff --git a/build-nupkg.sh b/build-nupkg.sh index 15c32f4..120f7fb 100644 --- a/build-nupkg.sh +++ b/build-nupkg.sh @@ -12,5 +12,5 @@ echo "" # git clean -xfd -dotnet restore -dotnet pack -p:Configuration=Release -p:Platform=AnyCPU -o artifacts ILCompose/ILCompose.csproj +dotnet build -p:Configuration=Release -p:Platform="Any CPU" -p:RestoreNoCache=True ILCompose.sln +dotnet pack -p:Configuration=Release -p:Platform="Any CPU" -o artifacts ILCompose.csproj From 62f5933b8c1318eb83fe5b4b7314635f3a9d2a84 Mon Sep 17 00:00:00 2001 From: Kouji Matsui Date: Mon, 23 Oct 2023 14:46:26 +0900 Subject: [PATCH 2/6] Updated packages. --- ILCompose/ILCompose.csproj | 2 +- PlayGround/ILCompose.Sample/ILCompose.Sample.csproj | 2 +- .../ILCompose.UnitTestSample.csproj | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ILCompose/ILCompose.csproj b/ILCompose/ILCompose.csproj index ba08c8a..c1f3d4d 100644 --- a/ILCompose/ILCompose.csproj +++ b/ILCompose/ILCompose.csproj @@ -19,7 +19,7 @@ - + diff --git a/PlayGround/ILCompose.Sample/ILCompose.Sample.csproj b/PlayGround/ILCompose.Sample/ILCompose.Sample.csproj index 11ade37..1cabe3c 100644 --- a/PlayGround/ILCompose.Sample/ILCompose.Sample.csproj +++ b/PlayGround/ILCompose.Sample/ILCompose.Sample.csproj @@ -27,7 +27,7 @@ - + diff --git a/PlayGround/ILCompose.UnitTestSample/ILCompose.UnitTestSample.csproj b/PlayGround/ILCompose.UnitTestSample/ILCompose.UnitTestSample.csproj index c6b5155..b4ce045 100644 --- a/PlayGround/ILCompose.UnitTestSample/ILCompose.UnitTestSample.csproj +++ b/PlayGround/ILCompose.UnitTestSample/ILCompose.UnitTestSample.csproj @@ -17,10 +17,10 @@ - + - - + + From ba942f0882707d772d425147e49a2ddd571f38d7 Mon Sep 17 00:00:00 2001 From: Kouji Matsui Date: Mon, 23 Oct 2023 14:47:13 +0900 Subject: [PATCH 3/6] Added net8.0 tfm. --- ILCompose/ILCompose.csproj | 2 +- .../ILCompose.UnitTestSample/ILCompose.UnitTestSample.csproj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ILCompose/ILCompose.csproj b/ILCompose/ILCompose.csproj index c1f3d4d..59e92e0 100644 --- a/ILCompose/ILCompose.csproj +++ b/ILCompose/ILCompose.csproj @@ -2,7 +2,7 @@ Exe - net462;netcoreapp2.2;netcoreapp3.1;net5.0;net6.0;net7.0 + net462;netcoreapp2.2;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0 ilcompose true diff --git a/PlayGround/ILCompose.UnitTestSample/ILCompose.UnitTestSample.csproj b/PlayGround/ILCompose.UnitTestSample/ILCompose.UnitTestSample.csproj index b4ce045..3f1e71c 100644 --- a/PlayGround/ILCompose.UnitTestSample/ILCompose.UnitTestSample.csproj +++ b/PlayGround/ILCompose.UnitTestSample/ILCompose.UnitTestSample.csproj @@ -1,9 +1,9 @@ - + - net48;net6.0;net7.0 + net48;net6.0;net7.0;net8.0 latest enable portable From 6af3448dc6664413e9159f46ce6bf7c1d44eafc6 Mon Sep 17 00:00:00 2001 From: Kouji Matsui Date: Mon, 23 Oct 2023 14:48:46 +0900 Subject: [PATCH 4/6] Updated readme. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 71eb11b..2342259 100644 --- a/README.md +++ b/README.md @@ -60,14 +60,14 @@ Only you have to do install the NuGet package [ILCompose](https://www.nuget.org/ Supported target platforms: -* .NET 7, 6, 5 +* .NET 8, 7, 6, 5 * .NET Core 3.1 to 2.0 (maybe to 1.0) * .NET Standard 2.1, 2.0 (maybe to 1.0) * .NET Framework 4.8 to 2.0 (maybe to 1.0) Supported building platforms: -* dotnet SDK 7, 6, 5, 3.1, 2.2 and 2.1 (on Windows and Linux) +* dotnet SDK 8, 7, 6, 5, 3.1, 2.2 and 2.1 (on Windows and Linux) * .NET Framework 4.8 to 4.6.2 on Windows (With dotnet SDK installation) ---- From 412adb60cb3373008c8dcbb772444e08c6349cc2 Mon Sep 17 00:00:00 2001 From: Kouji Matsui Date: Mon, 23 Oct 2023 14:50:48 +0900 Subject: [PATCH 5/6] Updated nuspec. --- ILCompose/ILCompose.csproj | 4 ++++ ILCompose/ILCompose.nuspec | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ILCompose/ILCompose.csproj b/ILCompose/ILCompose.csproj index 59e92e0..fb9fa93 100644 --- a/ILCompose/ILCompose.csproj +++ b/ILCompose/ILCompose.csproj @@ -14,6 +14,10 @@ false + + Minor + + diff --git a/ILCompose/ILCompose.nuspec b/ILCompose/ILCompose.nuspec index b0c3252..958daff 100644 --- a/ILCompose/ILCompose.nuspec +++ b/ILCompose/ILCompose.nuspec @@ -16,7 +16,7 @@ true - + @@ -29,5 +29,6 @@ + From 00a3a6ea046a32967f925177bed17839ba25be83 Mon Sep 17 00:00:00 2001 From: Kouji Matsui Date: Mon, 23 Oct 2023 14:51:48 +0900 Subject: [PATCH 6/6] Fixed package builder script. --- Directory.Build.props | 1 + ILCompose/ILCompose.csproj | 1 + build-nupkg.bat | 2 +- build-nupkg.sh | 2 +- samples/ILCompose.Sample/ILCompose.Sample.csproj | 1 + 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 8386d2c..91ab9d6 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -13,6 +13,7 @@ true git https://github.com/kekyo/ILCompose.git + False ILCompose ILCompose diff --git a/ILCompose/ILCompose.csproj b/ILCompose/ILCompose.csproj index fb9fa93..00358b7 100644 --- a/ILCompose/ILCompose.csproj +++ b/ILCompose/ILCompose.csproj @@ -9,6 +9,7 @@ true $(NoWarn);CS1591 + True ILCompose.nuspec true false diff --git a/build-nupkg.bat b/build-nupkg.bat index 5a8c4e2..46d730d 100644 --- a/build-nupkg.bat +++ b/build-nupkg.bat @@ -13,4 +13,4 @@ echo. rem git clean -xfd dotnet build -p:Configuration=Release -p:Platform="Any CPU" -p:RestoreNoCache=True ILCompose.sln -dotnet pack -p:Configuration=Release -p:Platform="Any CPU" -o artifacts ILCompose.csproj +dotnet pack -p:Configuration=Release -p:Platform="Any CPU" -o artifacts ILCompose.sln diff --git a/build-nupkg.sh b/build-nupkg.sh index 120f7fb..52b81db 100644 --- a/build-nupkg.sh +++ b/build-nupkg.sh @@ -13,4 +13,4 @@ echo "" # git clean -xfd dotnet build -p:Configuration=Release -p:Platform="Any CPU" -p:RestoreNoCache=True ILCompose.sln -dotnet pack -p:Configuration=Release -p:Platform="Any CPU" -o artifacts ILCompose.csproj +dotnet pack -p:Configuration=Release -p:Platform="Any CPU" -o artifacts ILCompose.sln diff --git a/samples/ILCompose.Sample/ILCompose.Sample.csproj b/samples/ILCompose.Sample/ILCompose.Sample.csproj index 6d254ab..2cf847e 100644 --- a/samples/ILCompose.Sample/ILCompose.Sample.csproj +++ b/samples/ILCompose.Sample/ILCompose.Sample.csproj @@ -4,6 +4,7 @@ net40;netstandard2.0 latest enable + False