From a21233de3c076075385a2549829f4cce329b8711 Mon Sep 17 00:00:00 2001 From: Alex Zaytsev Date: Tue, 18 Oct 2022 05:23:43 +0000 Subject: [PATCH] Add .NET Standard 2.0 target (4.0.x) (#15) * Add .NET Standard 2.0 target * Run tests using .NET Core 3.1 * Fix NuGetPush.bat file generation * Remove gutter from build scripts * Add SourceLink * Enable deterministic builds * Set version 4.0.5 --- README.md | 2 +- Tools/.gitignore | 1 - default.build | 176 +++++++----------- .../Iesi.Collections.Test.csproj | 6 +- src/Iesi.Collections.sln | 1 + src/Iesi.Collections/Iesi.Collections.csproj | 18 +- teamcity.build | 2 +- 7 files changed, 81 insertions(+), 125 deletions(-) delete mode 100644 Tools/.gitignore diff --git a/README.md b/README.md index 00be5b2..4a8db01 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Iesi.Collections ================ -Current version: 4.0.4 +Current version: 4.0.5 Some additional `ISet` implementations for .Net 4. diff --git a/Tools/.gitignore b/Tools/.gitignore deleted file mode 100644 index aaf208d..0000000 --- a/Tools/.gitignore +++ /dev/null @@ -1 +0,0 @@ -nuget.exe diff --git a/default.build b/default.build index 30126c5..d1b0658 100644 --- a/default.build +++ b/default.build @@ -2,42 +2,30 @@ - + - - - - - + + + + - + + + - - - - - - - - - - - @@ -60,43 +48,12 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -107,7 +64,7 @@ - + @@ -130,11 +87,11 @@ - + - + @@ -148,63 +105,56 @@ - - - + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Iesi.Collections.Test/Iesi.Collections.Test.csproj b/src/Iesi.Collections.Test/Iesi.Collections.Test.csproj index 3b2a213..8d1bf14 100644 --- a/src/Iesi.Collections.Test/Iesi.Collections.Test.csproj +++ b/src/Iesi.Collections.Test/Iesi.Collections.Test.csproj @@ -1,16 +1,12 @@  - netcoreapp1.0;net40;net461 + net40;net461;netcoreapp3.1 NHibernate community The Unit Tests for Iesi.Collections. exe false - - 1.0.4 - - diff --git a/src/Iesi.Collections.sln b/src/Iesi.Collections.sln index f488028..e9d2268 100644 --- a/src/Iesi.Collections.sln +++ b/src/Iesi.Collections.sln @@ -8,6 +8,7 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{46EEA13E-9366-4A18-AC82-C0F4C516A301}" ProjectSection(SolutionItems) = preProject ..\LICENSE.txt = ..\LICENSE.txt + ..\default.build = ..\default.build EndProjectSection EndProject Global diff --git a/src/Iesi.Collections/Iesi.Collections.csproj b/src/Iesi.Collections/Iesi.Collections.csproj index 0945488..209346a 100644 --- a/src/Iesi.Collections/Iesi.Collections.csproj +++ b/src/Iesi.Collections/Iesi.Collections.csproj @@ -1,11 +1,11 @@  - netstandard1.0;netstandard1.3;net40;net461 + netstandard1.0;netstandard1.3;netstandard2.0;net40;net461 NHibernate community Additional implementations of System.Collections.Generic.ISet<T>. The System.Collections namespace in the .NET Framework provides a number of collection types that are extremely useful for manipulating data in memory. However, some specialized implementations of ISet are not available. Iesi.Collections 4.0 for .Net 4.0 contains the LinkedHashSet (preserves insertion order), the ReadOnlySet and the SynchronizedSet. The latter two wrap an actual set. - 4.0.4 - 4.0.4.0 + 4.0.5 + 4.0.5.0 4.0.0.4000 Declaration of code in public domain can be found in comment by Jason Smith at https://www.codeproject.com/Messages/1622667/Re-Licensing-terms.aspx. Copyright © 2002-2004 by Aidant Systems, Inc., and by Jason Smith. @@ -18,9 +18,19 @@ Copyright © 2012 Oskar Berggren Collections ISet https://github.com/nhibernate/iesi.collections bin\$(Configuration)\$(TargetFramework)\Iesi.Collections.xml + + true + true + true + snupkg + true - + + + + + diff --git a/teamcity.build b/teamcity.build index 4d2ef43..8a843d9 100644 --- a/teamcity.build +++ b/teamcity.build @@ -12,6 +12,6 @@ - +