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. -->
-
-
+
+