Skip to content

Commit e62ee9d

Browse files
committed
Tweak AddRazorPages trimming warning.
1 parent 732f177 commit e62ee9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mvc/Mvc/src/MvcServiceCollectionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ private static IMvcCoreBuilder AddControllersWithViewsCore(IServiceCollection se
253253
/// To add services for controllers with views call <see cref="AddControllersWithViews(IServiceCollection)"/>.
254254
/// </para>
255255
/// </remarks>
256-
[RequiresUnreferencedCode("Razor Pages does not currently support native AOT.", Url = "https://aka.ms/aspnet/nativeaot")]
256+
[RequiresUnreferencedCode("Razor Pages does not currently support trimming or native AOT,", Url = "https://aka.ms/aspnet/trimming")]
257257
public static IMvcBuilder AddRazorPages(this IServiceCollection services)
258258
{
259259
ArgumentNullException.ThrowIfNull(services);

0 commit comments

Comments
 (0)