From 047d3f9e554b9042ad835f9183c614787c410855 Mon Sep 17 00:00:00 2001 From: Malcolm Daigle Date: Wed, 1 Apr 2026 09:04:39 -0700 Subject: [PATCH] =?UTF-8?q?Revert=20"Trim=20docs=20using=20pwsh=20via=20do?= =?UTF-8?q?tnet=20tool=20to=20support=20cross-platform=20local=20=E2=80=A6?= =?UTF-8?q?"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 75b33ad53c18d53fe8bcfbb8287f5b3ce78ee11b. --- dotnet-tools.json | 7 ------- .../ref/Microsoft.Data.SqlClient.csproj | 9 +++------ tools/targets/TrimDocsForIntelliSense.targets | 4 ++-- 3 files changed, 5 insertions(+), 15 deletions(-) diff --git a/dotnet-tools.json b/dotnet-tools.json index 11e3494512..1f59e06063 100644 --- a/dotnet-tools.json +++ b/dotnet-tools.json @@ -15,13 +15,6 @@ "apicompat" ], "rollForward": false - }, - "powershell": { - "version": "7.6.0", - "commands": [ - "pwsh" - ], - "rollForward": false } } } \ No newline at end of file diff --git a/src/Microsoft.Data.SqlClient/ref/Microsoft.Data.SqlClient.csproj b/src/Microsoft.Data.SqlClient/ref/Microsoft.Data.SqlClient.csproj index 252e8ba0b0..dfad9e601c 100644 --- a/src/Microsoft.Data.SqlClient/ref/Microsoft.Data.SqlClient.csproj +++ b/src/Microsoft.Data.SqlClient/ref/Microsoft.Data.SqlClient.csproj @@ -36,10 +36,6 @@ $(ArtifactPath)$(AssemblyName).ref/$(ReferenceType)-$(Configuration)/ - - - - + powershell.exe + pwsh - dotnet tool run pwsh + $(PowerShellCommand) -NonInteractive -ExecutionPolicy Unrestricted -Command "$(RepoRoot)tools\intellisense\TrimDocs.ps1 -inputFile '$(DocumentationFile)' -outputFile '$(DocumentationFile)'" diff --git a/tools/targets/TrimDocsForIntelliSense.targets b/tools/targets/TrimDocsForIntelliSense.targets index fd0ca40ea8..05feb26739 100644 --- a/tools/targets/TrimDocsForIntelliSense.targets +++ b/tools/targets/TrimDocsForIntelliSense.targets @@ -3,7 +3,7 @@ The .NET Foundation licenses this file to you under the MIT license. --> - - + +