diff --git a/Directory.Build.props b/Directory.Build.props
index 606e016b0..ff9208b93 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -10,6 +10,7 @@
snupkg
true
preview
+ $(NoWarn);NU5105
https://api.nuget.org/v3/index.json;
diff --git a/src/coverlet.collector/version.json b/src/coverlet.collector/version.json
index 827356928..705c19c2e 100644
--- a/src/coverlet.collector/version.json
+++ b/src/coverlet.collector/version.json
@@ -3,5 +3,8 @@
"version": "1.3.0-preview.{height}",
"publicReleaseRefSpec": [
"^refs/heads/master$"
- ]
+ ],
+ "nugetPackageVersion":{
+ "semVer": 2
+ }
}
diff --git a/src/coverlet.console/version.json b/src/coverlet.console/version.json
index 77f97b916..96bff07e6 100644
--- a/src/coverlet.console/version.json
+++ b/src/coverlet.console/version.json
@@ -3,5 +3,8 @@
"version": "1.7.2-preview.{height}",
"publicReleaseRefSpec": [
"^refs/heads/master$"
- ]
+ ],
+ "nugetPackageVersion":{
+ "semVer": 2
+ }
}
diff --git a/src/coverlet.msbuild.tasks/version.json b/src/coverlet.msbuild.tasks/version.json
index c78358379..6230b93e8 100644
--- a/src/coverlet.msbuild.tasks/version.json
+++ b/src/coverlet.msbuild.tasks/version.json
@@ -3,5 +3,8 @@
"version": "2.9.0-preview.{height}",
"publicReleaseRefSpec": [
"^refs/heads/master$"
- ]
+ ],
+ "nugetPackageVersion":{
+ "semVer": 2
+ }
}