From 38f0b31c3d44fd8acaa58889399cac67372223b2 Mon Sep 17 00:00:00 2001 From: James Suplizio Date: Mon, 15 Jul 2024 11:36:43 -0700 Subject: [PATCH] Add Update Remove-Item command line options (#45010) --- doc/ApiDocGeneration/Generate-Api-Docs.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ApiDocGeneration/Generate-Api-Docs.ps1 b/doc/ApiDocGeneration/Generate-Api-Docs.ps1 index be6bd0cb083c6..57f4823b4b0ca 100644 --- a/doc/ApiDocGeneration/Generate-Api-Docs.ps1 +++ b/doc/ApiDocGeneration/Generate-Api-Docs.ps1 @@ -140,7 +140,7 @@ if ($LibType -eq 'client') { } Write-Verbose "Remove all unneeded artifacts from build output directory" -Remove-Item –Path "${ApiDir}/*" -Include * -Exclude "${ArtifactName}.dll", "${ArtifactName}.xml" +Remove-Item –Path "${ApiDir}/*" -Include * -Exclude "${ArtifactName}.dll", "${ArtifactName}.xml" -Recurse -Force Write-Verbose "Initialize Frameworks File" & "${MDocTool}" fx-bootstrap "${FrameworkDir}"