diff --git a/Directory.Build.props b/Directory.Build.props
index 902f793b971d2..66120a0e9db69 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -313,7 +313,6 @@
-
$([MSBuild]::NormalizeDirectory('$(LibrariesProjectRoot)', 'System.Private.CoreLib', 'src'))
@@ -383,11 +382,6 @@
false
-
-
-
-
-
@@ -35,7 +36,6 @@
unconditionally in Microsoft.NETCoreSdk.BundledVersions.props.
-->
$(MajorVersion).$(MinorVersion)
- $(RunAnalyzers)
Microsoft%AE .NET
diff --git a/docs/project/analyzers.md b/docs/project/analyzers.md
index 61318e8cfe63e..cef5cc117cee7 100644
--- a/docs/project/analyzers.md
+++ b/docs/project/analyzers.md
@@ -4,7 +4,7 @@ This repo relies on [.NET Compiler Platform analyzers](https://learn.microsoft.c
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 `8.50.0.58025`.
-2. Add a `PackageReference` entry to , e.g.
+2. Add a `PackageReference` entry to , e.g.
```XML
```
diff --git a/eng/Analyzers.props b/eng/Analyzers.targets
similarity index 65%
rename from eng/Analyzers.props
rename to eng/Analyzers.targets
index 2af4c0cd55b2d..4ca3df7737280 100644
--- a/eng/Analyzers.props
+++ b/eng/Analyzers.targets
@@ -2,9 +2,12 @@
false
+ $(RunAnalyzers)
- true
+ true
@@ -13,4 +16,8 @@
+
+
+
+
diff --git a/eng/illink.targets b/eng/illink.targets
index 99c7f97be8e08..c837c96e51dc4 100644
--- a/eng/illink.targets
+++ b/eng/illink.targets
@@ -2,8 +2,11 @@
true
-
+
<_IsTrimmingEnabled>false
+
+ <_RequiresILLinkPack>false
_EmbedILLinkXmls;$(PrepareResourcesDependsOn)
$(TargetsTriggeredByCompilation);ILLinkTrimAssembly
diff --git a/src/coreclr/nativeaot/Test.CoreLib/src/Directory.Build.props b/src/coreclr/nativeaot/Test.CoreLib/src/Directory.Build.targets
similarity index 81%
rename from src/coreclr/nativeaot/Test.CoreLib/src/Directory.Build.props
rename to src/coreclr/nativeaot/Test.CoreLib/src/Directory.Build.targets
index 8cd614967f4a7..6bf41bdd2e1b1 100644
--- a/src/coreclr/nativeaot/Test.CoreLib/src/Directory.Build.props
+++ b/src/coreclr/nativeaot/Test.CoreLib/src/Directory.Build.targets
@@ -1,5 +1,5 @@
-
+
diff --git a/src/tools/illink/src/ILLink.Tasks/ILLink.Tasks.csproj b/src/tools/illink/src/ILLink.Tasks/ILLink.Tasks.csproj
index ff511c3b065f5..528e4b12e1032 100644
--- a/src/tools/illink/src/ILLink.Tasks/ILLink.Tasks.csproj
+++ b/src/tools/illink/src/ILLink.Tasks/ILLink.Tasks.csproj
@@ -22,6 +22,8 @@
false
false
$(TargetsForTfmSpecificContentInPackage);AddBuildOutputToToolsPackage
+
+ false