From 2e1602912acfdb6792dfe63d57178b84664a1047 Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Tue, 31 Oct 2023 09:01:38 -0400 Subject: [PATCH] Update .NET IL trimming remarks --- aspnetcore/blazor/host-and-deploy/webassembly.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/aspnetcore/blazor/host-and-deploy/webassembly.md b/aspnetcore/blazor/host-and-deploy/webassembly.md index f740565c790f..724e465faef6 100644 --- a/aspnetcore/blazor/host-and-deploy/webassembly.md +++ b/aspnetcore/blazor/host-and-deploy/webassembly.md @@ -122,9 +122,13 @@ In the app's project file: This setting trims away the IL code for most compiled methods, including methods from libraries and methods in the app. Not all compiled methods can be trimmed, as some are still required by the .NET interpreter at runtime. - +To report a problem with the trimming option, [open an issue on the `dotnet/runtime` GitHub repository](https://github.com/dotnet/runtime/issues). -If you hit any issues using this trimming option, [open an issue on the `dotnet/runtime` GitHub repository](https://github.com/dotnet/runtime/issues). +Disable the trimming property if it prevents your app from running normally: + +```xml +false +``` :::moniker-end