diff --git a/linting/codeanalysis.ruleset b/linting/codeanalysis.ruleset
new file mode 100644
index 0000000000..e4a1e8fe83
--- /dev/null
+++ b/linting/codeanalysis.ruleset
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/linting/codeanalysis.tests.ruleset b/linting/codeanalysis.tests.ruleset
new file mode 100644
index 0000000000..7074c8c25b
--- /dev/null
+++ b/linting/codeanalysis.tests.ruleset
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Umbraco.Core/Umbraco.Core.csproj b/src/Umbraco.Core/Umbraco.Core.csproj
index 5a7aa3ba9b..8f9282be55 100644
--- a/src/Umbraco.Core/Umbraco.Core.csproj
+++ b/src/Umbraco.Core/Umbraco.Core.csproj
@@ -7,7 +7,7 @@
0.5.0
0.5.0
0.5.0
- Umbraco CMS
+ Umbraco CMS
@@ -15,17 +15,17 @@
-
-
-
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
-
-
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
+
@@ -36,6 +36,9 @@
+
+ ..\..\linting\codeanalysis.ruleset
+
diff --git a/src/umbraco-netcore-only.sln b/src/umbraco-netcore-only.sln
index f9e749c59d..08c1ec42d0 100644
--- a/src/umbraco-netcore-only.sln
+++ b/src/umbraco-netcore-only.sln
@@ -5,10 +5,14 @@ VisualStudioVersion = 16.0.29209.152
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{2849E9D4-3B4E-40A3-A309-F3CB4F0E125F}"
ProjectSection(SolutionItems) = preProject
+ ..\linting\.editorconfig = ..\linting\.editorconfig
..\build\build-bootstrap.ps1 = ..\build\build-bootstrap.ps1
..\build\build.ps1 = ..\build\build.ps1
..\NuGet.Config = ..\NuGet.Config
SolutionInfo.cs = SolutionInfo.cs
+ ..\linting\stylecop.json = ..\linting\stylecop.json
+ ..\linting\codeanalysis.ruleset = ..\linting\codeanalysis.ruleset
+ ..\linting\codeanalysis.tests.ruleset = ..\linting\codeanalysis.tests.ruleset
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{FD962632-184C-4005-A5F3-E705D92FC645}"
diff --git a/src/umbraco.sln b/src/umbraco.sln
index 40772b74f1..ab7bfae3ec 100644
--- a/src/umbraco.sln
+++ b/src/umbraco.sln
@@ -13,6 +13,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{2849E9D4
..\NuGet.Config = ..\NuGet.Config
SolutionInfo.cs = SolutionInfo.cs
..\linting\stylecop.json = ..\linting\stylecop.json
+ ..\linting\codeanalysis.ruleset = ..\linting\codeanalysis.ruleset
+ ..\linting\codeanalysis.tests.ruleset = ..\linting\codeanalysis.tests.ruleset
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{FD962632-184C-4005-A5F3-E705D92FC645}"