From 21800decb1fcc3f5a88af650366614e72b13c5d5 Mon Sep 17 00:00:00 2001 From: James Suplizio Date: Mon, 15 Jul 2024 10:52:32 -0700 Subject: [PATCH] Add Update Remove-Item command line options --- 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}"