diff --git a/docs/core/deploying/trim-self-contained.md b/docs/core/deploying/trim-self-contained.md index 80ef67d064905..097c272b77482 100644 --- a/docs/core/deploying/trim-self-contained.md +++ b/docs/core/deploying/trim-self-contained.md @@ -36,39 +36,6 @@ When the code is indirectly referencing an assembly through reflection, you can ``` -### Support for SSL certificates - -If your app loads SSL certificates, such as in an ASP.NET Core app, you'll want to ensure that when trimming you prevent trimming assemblies that will help with loading SSL certificates. - -We can update our project file to include the following for ASP.NET Core 3.1: - -```xml - - ... - - - - - - - ... - -``` - -If we're using .Net 5.0, we can update our project file to include the following: - -```xml - - ... - - - - - - ... - -``` - ## Trim your app - CLI Trim your application using the [dotnet publish](../tools/dotnet-publish.md) command. When you publish your app, set the following properties: