diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json
index 6cf346f67..516b7dafe 100644
--- a/.config/dotnet-tools.json
+++ b/.config/dotnet-tools.json
@@ -13,6 +13,12 @@
"commands": [
"reportgenerator"
]
+ },
+ "meziantou.framework.nugetpackagevalidation.tool": {
+ "version": "1.0.9",
+ "commands": [
+ "meziantou.validate-nuget-package"
+ ]
}
}
}
diff --git a/MoreLinq/CompatibilitySuppressions.xml b/MoreLinq/CompatibilitySuppressions.xml
new file mode 100644
index 000000000..75886d3d6
--- /dev/null
+++ b/MoreLinq/CompatibilitySuppressions.xml
@@ -0,0 +1,130 @@
+
+
+
+
+ CP0001
+ T:MoreLinq.Experimental.AwaitQueryOptions
+ lib/net451/MoreLinq.dll
+ lib/netstandard1.0/MoreLinq.dll
+ true
+
+
+ CP0001
+ T:MoreLinq.Experimental.IAwaitQuery`1
+ lib/net451/MoreLinq.dll
+ lib/netstandard1.0/MoreLinq.dll
+ true
+
+
+ CP0001
+ T:MoreLinq.Extensions.ToDataTableExtension
+ lib/net451/MoreLinq.dll
+ lib/netstandard1.0/MoreLinq.dll
+ true
+
+
+ CP0002
+ M:MoreLinq.Experimental.ExperimentalEnumerable.AsOrdered``1(MoreLinq.Experimental.IAwaitQuery{``0})
+ lib/net451/MoreLinq.dll
+ lib/netstandard1.0/MoreLinq.dll
+ true
+
+
+ CP0002
+ M:MoreLinq.Experimental.ExperimentalEnumerable.AsSequential``1(MoreLinq.Experimental.IAwaitQuery{``0})
+ lib/net451/MoreLinq.dll
+ lib/netstandard1.0/MoreLinq.dll
+ true
+
+
+ CP0002
+ M:MoreLinq.Experimental.ExperimentalEnumerable.AsUnordered``1(MoreLinq.Experimental.IAwaitQuery{``0})
+ lib/net451/MoreLinq.dll
+ lib/netstandard1.0/MoreLinq.dll
+ true
+
+
+ CP0002
+ M:MoreLinq.Experimental.ExperimentalEnumerable.Await``1(System.Collections.Generic.IEnumerable{System.Threading.Tasks.Task{``0}})
+ lib/net451/MoreLinq.dll
+ lib/netstandard1.0/MoreLinq.dll
+ true
+
+
+ CP0002
+ M:MoreLinq.Experimental.ExperimentalEnumerable.Await``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}})
+ lib/net451/MoreLinq.dll
+ lib/netstandard1.0/MoreLinq.dll
+ true
+
+
+ CP0002
+ M:MoreLinq.Experimental.ExperimentalEnumerable.AwaitCompletion``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},System.Func{``0,System.Threading.Tasks.Task{``1},``2})
+ lib/net451/MoreLinq.dll
+ lib/netstandard1.0/MoreLinq.dll
+ true
+
+
+ CP0002
+ M:MoreLinq.Experimental.ExperimentalEnumerable.MaxConcurrency``1(MoreLinq.Experimental.IAwaitQuery{``0},System.Int32)
+ lib/net451/MoreLinq.dll
+ lib/netstandard1.0/MoreLinq.dll
+ true
+
+
+ CP0002
+ M:MoreLinq.Experimental.ExperimentalEnumerable.PreserveOrder``1(MoreLinq.Experimental.IAwaitQuery{``0},System.Boolean)
+ lib/net451/MoreLinq.dll
+ lib/netstandard1.0/MoreLinq.dll
+ true
+
+
+ CP0002
+ M:MoreLinq.Experimental.ExperimentalEnumerable.Scheduler``1(MoreLinq.Experimental.IAwaitQuery{``0},System.Threading.Tasks.TaskScheduler)
+ lib/net451/MoreLinq.dll
+ lib/netstandard1.0/MoreLinq.dll
+ true
+
+
+ CP0002
+ M:MoreLinq.Experimental.ExperimentalEnumerable.UnboundedConcurrency``1(MoreLinq.Experimental.IAwaitQuery{``0})
+ lib/net451/MoreLinq.dll
+ lib/netstandard1.0/MoreLinq.dll
+ true
+
+
+ CP0002
+ M:MoreLinq.MoreEnumerable.ToDataTable``1(System.Collections.Generic.IEnumerable{``0},System.Linq.Expressions.Expression{System.Func{``0,System.Object}}[])
+ lib/net451/MoreLinq.dll
+ lib/netstandard1.0/MoreLinq.dll
+ true
+
+
+ CP0002
+ M:MoreLinq.MoreEnumerable.ToDataTable``1(System.Collections.Generic.IEnumerable{``0})
+ lib/net451/MoreLinq.dll
+ lib/netstandard1.0/MoreLinq.dll
+ true
+
+
+ CP0002
+ M:MoreLinq.MoreEnumerable.ToDataTable``2(System.Collections.Generic.IEnumerable{``0},``1,System.Linq.Expressions.Expression{System.Func{``0,System.Object}}[])
+ lib/net451/MoreLinq.dll
+ lib/netstandard1.0/MoreLinq.dll
+ true
+
+
+ CP0002
+ M:MoreLinq.MoreEnumerable.ToDataTable``2(System.Collections.Generic.IEnumerable{``0},``1)
+ lib/net451/MoreLinq.dll
+ lib/netstandard1.0/MoreLinq.dll
+ true
+
+
+ CP0002
+ M:MoreLinq.SequenceException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
+ lib/net451/MoreLinq.dll
+ lib/netstandard1.0/MoreLinq.dll
+ true
+
+
diff --git a/MoreLinq/MoreLinq.csproj b/MoreLinq/MoreLinq.csproj
index ec74962c7..a3e52f179 100644
--- a/MoreLinq/MoreLinq.csproj
+++ b/MoreLinq/MoreLinq.csproj
@@ -134,6 +134,8 @@
COPYING.txt
..\dist
README.md
+ true
+ 3.3.1
true
true
true
diff --git a/appveyor.yml b/appveyor.yml
index a59f94da0..e213363c0 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -83,6 +83,13 @@ after_build:
if ($LASTEXITCODE -ne 0) {
throw "New code was generated during build that's not been committed."
}
+- ps: |
+ dir dist\*.nupkg | % {
+ dotnet meziantou.validate-nuget-package --excluded-rules IconMustBeSet,Symbols $_
+ if ($LASTEXITCODE) {
+ throw "Package validation failed: $_"
+ }
+ }
test_script:
- cmd: test.cmd
- sh: ./test.sh