diff --git a/src/PSRule.CommandLine/PSRule.CommandLine.csproj b/src/PSRule.CommandLine/PSRule.CommandLine.csproj
index 5145dc7100..74c5bf2994 100644
--- a/src/PSRule.CommandLine/PSRule.CommandLine.csproj
+++ b/src/PSRule.CommandLine/PSRule.CommandLine.csproj
@@ -17,7 +17,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/src/PSRule.CommandLine/packages.lock.json b/src/PSRule.CommandLine/packages.lock.json
index 1e0a6a349c..ecfd64a252 100644
--- a/src/PSRule.CommandLine/packages.lock.json
+++ b/src/PSRule.CommandLine/packages.lock.json
@@ -4,9 +4,9 @@
"net8.0": {
"Microsoft.CodeAnalysis.NetAnalyzers": {
"type": "Direct",
- "requested": "[8.0.0, )",
- "resolved": "8.0.0",
- "contentHash": "DxiTgkCl3CGq1rYmBX2wjY7XGbxiBdL4J+/AJIAFLKy5z70NxhnVRnPghnicXZ8oF6JKVXlW3xwznRbI3ioEKg=="
+ "requested": "[9.0.0, )",
+ "resolved": "9.0.0",
+ "contentHash": "JajbvkrBgtdRghavIjcJuNHMOja4lqBmEezbhZyqWPYh2cpLhT5mPpfC7NQVDO4IehWQum9t/nwF4v+qQGtYWg=="
},
"Microsoft.PowerShell.SDK": {
"type": "Direct",
diff --git a/src/PSRule.Tool/PSRule.Tool.csproj b/src/PSRule.Tool/PSRule.Tool.csproj
index 1a2bf866d3..1dbd9ab02e 100644
--- a/src/PSRule.Tool/PSRule.Tool.csproj
+++ b/src/PSRule.Tool/PSRule.Tool.csproj
@@ -19,7 +19,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/src/PSRule.Tool/packages.lock.json b/src/PSRule.Tool/packages.lock.json
index 7f1d4afb5d..35d4b680d6 100644
--- a/src/PSRule.Tool/packages.lock.json
+++ b/src/PSRule.Tool/packages.lock.json
@@ -4,9 +4,9 @@
"net8.0": {
"Microsoft.CodeAnalysis.NetAnalyzers": {
"type": "Direct",
- "requested": "[8.0.0, )",
- "resolved": "8.0.0",
- "contentHash": "DxiTgkCl3CGq1rYmBX2wjY7XGbxiBdL4J+/AJIAFLKy5z70NxhnVRnPghnicXZ8oF6JKVXlW3xwznRbI3ioEKg=="
+ "requested": "[9.0.0, )",
+ "resolved": "9.0.0",
+ "contentHash": "JajbvkrBgtdRghavIjcJuNHMOja4lqBmEezbhZyqWPYh2cpLhT5mPpfC7NQVDO4IehWQum9t/nwF4v+qQGtYWg=="
},
"Microsoft.SourceLink.GitHub": {
"type": "Direct",
diff --git a/src/PSRule.Types/PSRule.Types.csproj b/src/PSRule.Types/PSRule.Types.csproj
index a281911e5d..9f9fff49ce 100644
--- a/src/PSRule.Types/PSRule.Types.csproj
+++ b/src/PSRule.Types/PSRule.Types.csproj
@@ -11,7 +11,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/src/PSRule.Types/packages.lock.json b/src/PSRule.Types/packages.lock.json
index 974431d716..077cc4b94e 100644
--- a/src/PSRule.Types/packages.lock.json
+++ b/src/PSRule.Types/packages.lock.json
@@ -4,9 +4,9 @@
".NETStandard,Version=v2.0": {
"Microsoft.CodeAnalysis.NetAnalyzers": {
"type": "Direct",
- "requested": "[8.0.0, )",
- "resolved": "8.0.0",
- "contentHash": "DxiTgkCl3CGq1rYmBX2wjY7XGbxiBdL4J+/AJIAFLKy5z70NxhnVRnPghnicXZ8oF6JKVXlW3xwznRbI3ioEKg=="
+ "requested": "[9.0.0, )",
+ "resolved": "9.0.0",
+ "contentHash": "JajbvkrBgtdRghavIjcJuNHMOja4lqBmEezbhZyqWPYh2cpLhT5mPpfC7NQVDO4IehWQum9t/nwF4v+qQGtYWg=="
},
"Microsoft.SourceLink.GitHub": {
"type": "Direct",
diff --git a/src/PSRule/PSRule.csproj b/src/PSRule/PSRule.csproj
index 33a8d07f17..cb984065e1 100644
--- a/src/PSRule/PSRule.csproj
+++ b/src/PSRule/PSRule.csproj
@@ -13,7 +13,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/src/PSRule/packages.lock.json b/src/PSRule/packages.lock.json
index 64d226f15d..844c385c59 100644
--- a/src/PSRule/packages.lock.json
+++ b/src/PSRule/packages.lock.json
@@ -16,9 +16,9 @@
},
"Microsoft.CodeAnalysis.NetAnalyzers": {
"type": "Direct",
- "requested": "[8.0.0, )",
- "resolved": "8.0.0",
- "contentHash": "DxiTgkCl3CGq1rYmBX2wjY7XGbxiBdL4J+/AJIAFLKy5z70NxhnVRnPghnicXZ8oF6JKVXlW3xwznRbI3ioEKg=="
+ "requested": "[9.0.0, )",
+ "resolved": "9.0.0",
+ "contentHash": "JajbvkrBgtdRghavIjcJuNHMOja4lqBmEezbhZyqWPYh2cpLhT5mPpfC7NQVDO4IehWQum9t/nwF4v+qQGtYWg=="
},
"Microsoft.Extensions.DependencyInjection": {
"type": "Direct",