diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d8ae9593..d4a23cdd 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -44,7 +44,7 @@ jobs:
- name: ✓ check formatting
run: |
- dotnet tool update -g --version 4.1.* dotnet-format >nul || dotnet tool list -g
+ dotnet tool update -g --version 4.1.* dotnet-format
dotnet format -f src --check -v:diag
- name: 🙏 build
diff --git a/.netconfig b/.netconfig
index b3689c57..6a4d2269 100644
--- a/.netconfig
+++ b/.netconfig
@@ -26,17 +26,13 @@
url = https://github.com/kzu/oss/blob/main/.github/ISSUE_TEMPLATE/bug.md
etag = 026852ba1f1921f3a043bb5e09cd7a2c3d9a33ec51f48e524dc3a2ab72de3141
weak
-[file ".github/ISSUE_TEMPLATE/feature.md"]
- url = https://github.com/kzu/oss/blob/main/.github/ISSUE_TEMPLATE/feature.md
- etag = c5b7de1bc9eaf1f2ae6d1d2021e68084a5b1ab4800e9f129416d2838c128cad1
- weak
[file ".github/dependabot.yml"]
url = https://github.com/kzu/oss/blob/main/.github/dependabot.yml
etag = 2fc8a0d2b47091b058ae3e1f68333492044b49a684621f4939a0bce5bff869d5
weak
[file ".github/workflows/build.yml"]
url = https://github.com/kzu/oss/blob/main/.github/workflows/build.yml
- etag = c56db40b37f8dbcff13aea20eefc263caf825d17d86b0dc055ce504d8cb8ae9d
+ etag = 4d598303ec512578cff4b6d539929490ec844dd9c0605251bd769adbe120b50d
weak
[file ".github/workflows/release.yml"]
url = https://github.com/kzu/oss/blob/main/.github/workflows/release.yml
@@ -64,11 +60,11 @@
weak
[file "src/Directory.Build.props"]
url = https://github.com/kzu/oss/blob/main/src/Directory.Build.props
- etag = d0b93d7533832a4d62cff69c71540bad3284bf92a7d2096b1a91607d72099d2b
+ etag = a74681138b2e306cce2cbfc4b73148bb5a060a040abf1d86d9116fa36601a376
weak
[file "src/Directory.Build.targets"]
url = https://github.com/kzu/oss/blob/main/src/Directory.Build.targets
- etag = a8ae94f091decde21c9f9b2d851647c1cb573746956c29448346d0ccb1478652
+ etag = 5493a6e0a33cf0efe11b49d71f30bbd2555c4f94924f07a3f39fa47e466b705d
weak
[file "src/kzu.snk"]
url = https://github.com/kzu/oss/blob/main/src/kzu.snk
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index aade2e19..0273b1c9 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -1,6 +1,23 @@
+
+ false
+
+ true
+
+
+
+
+ $(CI)
+
+
kzu
Copyright (C) Daniel Cazzulino and Contributors. All rights reserved.
@@ -21,11 +38,10 @@
-
+
@@ -68,7 +84,12 @@
false
-
+
+
+ NU5105;$(NoWarn)
+
+ true
+
- true
-
-
-
-
- $(CI)
-
-
diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets
index 965161b7..eed9317f 100644
--- a/src/Directory.Build.targets
+++ b/src/Directory.Build.targets
@@ -59,29 +59,25 @@
-
-
-
-
+
+
+
+ $(PrivateRepositoryUrl)
+ $(SourceRevisionId)
+ $(SourceRevisionId.Substring(0, 9))
-
- $(PrivateRepositoryUrl)
$(RepositoryUrl)
-
- $(SourceRevisionId)
- $(SourceRevisionId.Substring(0, 9))
-
$(Description)
Built from $(RepositoryUrl)/tree/$(SourceRevisionId.Substring(0, 9))
diff --git a/src/ThisAssembly.Project/ProjectPropertyGenerator.cs b/src/ThisAssembly.Project/ProjectPropertyGenerator.cs
index e7bb6428..e7de2c9c 100644
--- a/src/ThisAssembly.Project/ProjectPropertyGenerator.cs
+++ b/src/ThisAssembly.Project/ProjectPropertyGenerator.cs
@@ -26,7 +26,7 @@ public void Execute(GeneratorExecutionContext context)
value : null))
.Where(pair => pair.Value != null)
.Distinct(new KeyValueComparer())
- .ToDictionary(x => x.Key, x => x.Value);
+ .ToDictionary(x => x.Key, x => x.Value!);
var model = new Model(properties);
var language = context.ParseOptions.Language;