diff --git a/docs/libraries/project-docs/analyzers.md b/docs/libraries/project-docs/analyzers.md
index 42e392f4b4cbae..b36b1d3c350f89 100644
--- a/docs/libraries/project-docs/analyzers.md
+++ b/docs/libraries/project-docs/analyzers.md
@@ -4,11 +4,11 @@ This repo relies on [.NET Compiler Platform analyzers](https://docs.microsoft.co
To add an analyzer package to the build:
1. Select a package you want to employ, for example https://www.nuget.org/packages/SonarAnalyzer.CSharp/. This analyzer package's name is `SonarAnalyzer.CSharp` and the latest version as of this edit is `7.15.0.8572`.
-2. Add a PackageReference entry to https://github.com/dotnet/corefx/blob/master/eng/Analyzers.props, e.g.
+2. Add a PackageReference entry to https://github.com/dotnet/runtime/blob/master/eng/Analyzers.props, e.g.
```XML
```
-3. After that point, all builds will employ all rules in that analyzer package that are enabled by default. Rules can be disabled by adding entries to the https://github.com/dotnet/corefx/blob/master/src/Common/src/CoreLib/CodeAnalysis.ruleset file, e.g.
+3. After that point, all builds will employ all rules in that analyzer package that are enabled by default. Rules can be disabled by adding entries to the https://github.com/dotnet/runtime/blob/master/src/libraries/CodeAnalysis.ruleset file, e.g.
```XML
diff --git a/src/coreclr/src/System.Private.CoreLib/System.Private.CoreLib.csproj b/src/coreclr/src/System.Private.CoreLib/System.Private.CoreLib.csproj
index 960a617f839bec..8d98beb06da74e 100644
--- a/src/coreclr/src/System.Private.CoreLib/System.Private.CoreLib.csproj
+++ b/src/coreclr/src/System.Private.CoreLib/System.Private.CoreLib.csproj
@@ -446,7 +446,7 @@
- $(CoreLibSharedDir)CodeAnalysis.ruleset
+ $(LibrariesProjectRoot)CodeAnalysis.ruleset
diff --git a/src/libraries/System.Private.CoreLib/src/CodeAnalysis.ruleset b/src/libraries/CodeAnalysis.ruleset
similarity index 100%
rename from src/libraries/System.Private.CoreLib/src/CodeAnalysis.ruleset
rename to src/libraries/CodeAnalysis.ruleset
diff --git a/src/libraries/Directory.Build.props b/src/libraries/Directory.Build.props
index 5785db949cc12b..84d0266966afd3 100644
--- a/src/libraries/Directory.Build.props
+++ b/src/libraries/Directory.Build.props
@@ -364,7 +364,7 @@
false
- $(CoreLibSharedDir)CodeAnalysis.ruleset
+ $(LibrariesProjectRoot)CodeAnalysis.ruleset
false