diff --git a/src/Faithlife.Build/DotNetBuild.cs b/src/Faithlife.Build/DotNetBuild.cs
index d09f1aa..230cc1b 100644
--- a/src/Faithlife.Build/DotNetBuild.cs
+++ b/src/Faithlife.Build/DotNetBuild.cs
@@ -409,7 +409,7 @@ string[] GetTargetFrameworks()
 						{
 							// return single empty framework unless there are more than one
 							var text = xmlDocGenProjectDocument.XPathSelectElements("Project/PropertyGroup/TargetFrameworks").FirstOrDefault()?.Value;
-							var values = text is null ? Array.Empty<string>() : text.Split(';').Select(x => x.Trim()).Where(x => x.Length != 0).ToArray();
+							var values = text is null ? [] : text.Split(';').Select(x => x.Trim()).Where(x => x.Length != 0).ToArray();
 							return values.Length > 1 ? values : [""];
 						}
 					}
diff --git a/src/Faithlife.Build/DotNetLocalTool.cs b/src/Faithlife.Build/DotNetLocalTool.cs
index e422930..f3bfd76 100644
--- a/src/Faithlife.Build/DotNetLocalTool.cs
+++ b/src/Faithlife.Build/DotNetLocalTool.cs
@@ -60,7 +60,7 @@ public static DotNetLocalTool CreateFrom(string directory, string name) =>
 	/// True if there are any .NET local tools at the specified directory.
 	/// </summary>
 	/// <param name="directory">The directory from which the tool would be run.</param>
-	public static bool AnyFrom(string directory) => GetDotNetLocalTools(directory).Any();
+	public static bool AnyFrom(string directory) => GetDotNetLocalTools(directory).Count != 0;
 
 	/// <summary>
 	/// The version of the tool.
@@ -110,11 +110,11 @@ internal DotNetLocalTool(string directory, string name, NuGetVersion version)
 		Version = version;
 	}
 
-	private static IReadOnlyList<(string Package, NuGetVersion Version, string Command)> GetDotNetLocalTools(string directory)
+	private static List<(string Package, NuGetVersion Version, string Command)> GetDotNetLocalTools(string directory)
 	{
 		var manifestPath = TryGetDotNetLocalToolManifestPath(Path.GetFullPath(directory));
 		if (manifestPath is null)
-			return Array.Empty<(string, NuGetVersion, string)>();
+			return [];
 
 		return JsonDocument.Parse(File.ReadAllText(manifestPath))
 			.RootElement