diff --git a/Analyzers.props b/Analyzers.props
new file mode 100644
index 00000000000..9d617deffc9
--- /dev/null
+++ b/Analyzers.props
@@ -0,0 +1,5 @@
+
+
+ $(MSBuildThisFileDirectory)CodeAnalysis.ruleset
+
+
diff --git a/CodeAnalysis.ruleset b/CodeAnalysis.ruleset
new file mode 100644
index 00000000000..eddf69c0c2a
--- /dev/null
+++ b/CodeAnalysis.ruleset
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/PowerShell.Common.props b/PowerShell.Common.props
index d8fb6aa59bb..e59a758bfb0 100644
--- a/PowerShell.Common.props
+++ b/PowerShell.Common.props
@@ -1,4 +1,5 @@
+