diff --git a/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets b/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets
index 2968851f834019..198c14cc971a60 100644
--- a/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets
+++ b/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets
@@ -225,7 +225,6 @@ Copyright (c) .NET Foundation. All rights reserved.
$(TreatWarningsAsErrors)
- <_ExtraTrimmerArgs>--skip-unresolved true $(_ExtraTrimmerArgs)
true
diff --git a/src/tools/illink/src/linker/Linker/Driver.cs b/src/tools/illink/src/linker/Linker/Driver.cs
index 695b76c6df6c32..7b4a78a6903489 100644
--- a/src/tools/illink/src/linker/Linker/Driver.cs
+++ b/src/tools/illink/src/linker/Linker/Driver.cs
@@ -1336,7 +1336,7 @@ static void Usage ()
Console.WriteLine (" --custom-data KEY=VALUE Populates context data set with user specified key-value pair");
Console.WriteLine (" --deterministic Produce a deterministic output for modified assemblies");
Console.WriteLine (" --ignore-descriptors Skips reading embedded descriptors (short -z). Defaults to false");
- Console.WriteLine (" --skip-unresolved Ignore unresolved types, methods, and assemblies. Defaults to false");
+ Console.WriteLine (" --skip-unresolved Ignore unresolved types, methods, and assemblies. Defaults to true");
Console.WriteLine (" --output-pinvokes PATH Output a JSON file with all modules and entry points of the P/Invokes found");
Console.WriteLine (" --verbose Log messages indicating progress and warnings");
Console.WriteLine (" --nowarn WARN Disable specific warning messages");
diff --git a/src/tools/illink/src/linker/Linker/LinkContext.cs b/src/tools/illink/src/linker/Linker/LinkContext.cs
index 135cbddc8c9350..41fcba1a6f05b2 100644
--- a/src/tools/illink/src/linker/Linker/LinkContext.cs
+++ b/src/tools/illink/src/linker/Linker/LinkContext.cs
@@ -110,7 +110,7 @@ public Pipeline Pipeline {
public bool KeepMembersForDebugger { get; set; } = true;
- public bool IgnoreUnresolved { get; set; }
+ public bool IgnoreUnresolved { get; set; } = true;
public bool EnableReducedTracing { get; set; }
diff --git a/src/tools/illink/test/Mono.Linker.Tests.Cases/Attributes/OnlyKeepUsed/NullableOnConstraints.cs b/src/tools/illink/test/Mono.Linker.Tests.Cases/Attributes/OnlyKeepUsed/NullableOnConstraints.cs
index 47cdfc9c9dfa8e..0151df2caa1ace 100644
--- a/src/tools/illink/test/Mono.Linker.Tests.Cases/Attributes/OnlyKeepUsed/NullableOnConstraints.cs
+++ b/src/tools/illink/test/Mono.Linker.Tests.Cases/Attributes/OnlyKeepUsed/NullableOnConstraints.cs
@@ -45,4 +45,4 @@ interface I
class C where T : I?
{
}
-}
\ No newline at end of file
+}
diff --git a/src/tools/illink/test/Mono.Linker.Tests.Cases/References/MissingReferenceInUnusedCodePath.cs b/src/tools/illink/test/Mono.Linker.Tests.Cases/References/MissingReferenceInUnusedCodePath.cs
index 16d5de6bd45402..8502fd005e20c3 100644
--- a/src/tools/illink/test/Mono.Linker.Tests.Cases/References/MissingReferenceInUnusedCodePath.cs
+++ b/src/tools/illink/test/Mono.Linker.Tests.Cases/References/MissingReferenceInUnusedCodePath.cs
@@ -11,6 +11,7 @@ namespace Mono.Linker.Tests.Cases.References;
[NoLinkedOutput]
[SetupCompileBefore ("missing.dll", new[] { "Dependencies/MissingAssembly.cs" })]
[DeleteBefore ("missing.dll")]
+[SetupLinkerArgument ("--skip-unresolved", "false")]
public class MissingReferenceInUnusedCodePath
{
public static void Main ()
diff --git a/src/tools/illink/test/Mono.Linker.Tests.Cases/References/MissingReferenceInUsedCodePath.cs b/src/tools/illink/test/Mono.Linker.Tests.Cases/References/MissingReferenceInUsedCodePath.cs
index 99477f01d68213..18455ed3c38ecb 100644
--- a/src/tools/illink/test/Mono.Linker.Tests.Cases/References/MissingReferenceInUsedCodePath.cs
+++ b/src/tools/illink/test/Mono.Linker.Tests.Cases/References/MissingReferenceInUsedCodePath.cs
@@ -11,6 +11,7 @@ namespace Mono.Linker.Tests.Cases.References;
[NoLinkedOutput]
[SetupCompileBefore ("missing.dll", new[] { "Dependencies/MissingAssembly.cs" })]
[DeleteBefore ("missing.dll")]
+[SetupLinkerArgument ("--skip-unresolved", "false")]
public class MissingReferenceInUsedCodePath
{
public static void Main ()