diff --git a/codeanalysis.ruleset b/codeanalysis.ruleset
new file mode 100644
index 00000000..f666b7e7
--- /dev/null
+++ b/codeanalysis.ruleset
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Ocelot/Ocelot.csproj b/src/Ocelot/Ocelot.csproj
index eb4ce773..8dc09d0e 100644
--- a/src/Ocelot/Ocelot.csproj
+++ b/src/Ocelot/Ocelot.csproj
@@ -17,6 +17,7 @@
True
false
Tom Pallister
+ ..\..\codeanalysis.ruleset
full
@@ -35,6 +36,9 @@
+
+ all
+
diff --git a/test/Ocelot.AcceptanceTests/Ocelot.AcceptanceTests.csproj b/test/Ocelot.AcceptanceTests/Ocelot.AcceptanceTests.csproj
index ab7ae7ce..363e0dce 100644
--- a/test/Ocelot.AcceptanceTests/Ocelot.AcceptanceTests.csproj
+++ b/test/Ocelot.AcceptanceTests/Ocelot.AcceptanceTests.csproj
@@ -12,6 +12,7 @@
false
false
false
+ ..\..\codeanalysis.ruleset
@@ -34,6 +35,9 @@
+
+ all
+
diff --git a/test/Ocelot.Benchmarks/Ocelot.Benchmarks.csproj b/test/Ocelot.Benchmarks/Ocelot.Benchmarks.csproj
index ac2b0191..bc22e06c 100644
--- a/test/Ocelot.Benchmarks/Ocelot.Benchmarks.csproj
+++ b/test/Ocelot.Benchmarks/Ocelot.Benchmarks.csproj
@@ -11,6 +11,7 @@
false
false
false
+ ..\..\codeanalysis.ruleset
@@ -19,6 +20,9 @@
+
+ all
+
diff --git a/test/Ocelot.IntegrationTests/Ocelot.IntegrationTests.csproj b/test/Ocelot.IntegrationTests/Ocelot.IntegrationTests.csproj
index 6e1fdb4b..8dc250b2 100644
--- a/test/Ocelot.IntegrationTests/Ocelot.IntegrationTests.csproj
+++ b/test/Ocelot.IntegrationTests/Ocelot.IntegrationTests.csproj
@@ -11,6 +11,7 @@
false
false
false
+ ..\..\codeanalysis.ruleset
@@ -18,29 +19,32 @@
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test/Ocelot.ManualTest/Ocelot.ManualTest.csproj b/test/Ocelot.ManualTest/Ocelot.ManualTest.csproj
index 7ec84c3d..ed0e2cb8 100644
--- a/test/Ocelot.ManualTest/Ocelot.ManualTest.csproj
+++ b/test/Ocelot.ManualTest/Ocelot.ManualTest.csproj
@@ -9,6 +9,7 @@
Exe
Ocelot.ManualTest
osx.10.11-x64;osx.10.12-x64;win7-x64;win10-x64
+ ..\..\codeanalysis.ruleset
@@ -38,6 +39,9 @@
+
+ all
+
diff --git a/test/Ocelot.UnitTests/Ocelot.UnitTests.csproj b/test/Ocelot.UnitTests/Ocelot.UnitTests.csproj
index 7993644f..9165347e 100644
--- a/test/Ocelot.UnitTests/Ocelot.UnitTests.csproj
+++ b/test/Ocelot.UnitTests/Ocelot.UnitTests.csproj
@@ -12,6 +12,7 @@
false
false
false
+ ..\..\codeanalysis.ruleset
@@ -37,6 +38,9 @@
+
+ all
+