diff --git a/eng/testing/xunit/xunit.console.targets b/eng/testing/xunit/xunit.console.targets
index b682117b75a9ec..89567bb43fef81 100644
--- a/eng/testing/xunit/xunit.console.targets
+++ b/eng/testing/xunit/xunit.console.targets
@@ -13,8 +13,8 @@
-
-
+
+
diff --git a/src/libraries/sendtohelixhelp.proj b/src/libraries/sendtohelixhelp.proj
index 87d3c1d371f808..8c6940cd22492f 100644
--- a/src/libraries/sendtohelixhelp.proj
+++ b/src/libraries/sendtohelixhelp.proj
@@ -220,19 +220,12 @@
$(HelixCommand) dotnet dev-certs https &&
-
- $(HelixCommand) powershell -command "New-SelfSignedCertificate -FriendlyName 'ASP.NET Core HTTPS development certificate' -DnsName @('localhost') -Subject 'CN = localhost' -KeyAlgorithm RSA -KeyLength 2048 -HashAlgorithm sha256 -CertStoreLocation 'Cert:\CurrentUser\My' -TextExtension @('2.5.29.37={text}1.3.6.1.5.5.7.3.1','1.3.6.1.4.1.311.84.1.1={hex}02','2.5.29.19={text}') -KeyUsage DigitalSignature,KeyEncipherment" &&
-
-
- $(HelixCommand)call RunTests.cmd
- $(HelixCommand) --runtime-path %HELIX_CORRELATION_PAYLOAD%
-
- $(HelixCommand)./RunTests.sh
- $(HelixCommand) --runtime-path "$HELIX_CORRELATION_PAYLOAD"
+
+ <_CertName>'ASP.NET Core HTTPS development certificate'
+ <_LocalhostCN>'CN = localhost'
+ <_CertPath>'Cert:\CurrentUser\My'
+ $(HelixCommand) powershell -command " Get-ChildItem -Path $(_CertPath) | Where-Object { $_.Subject -eq $(_LocalhostCN) -or $_.FriendlyName -eq $(_CertName) } | Remove-Item; Get-ChildItem -Path $(_CertPath) | Where-Object { $_.Subject -eq $(_LocalhostCN) -or $_.FriendlyName -eq $(_CertName) } | Remove-Item; " &&
+ $(HelixCommand) powershell -command "New-SelfSignedCertificate -FriendlyName $(_CertName) -DnsName @('localhost') -Subject $(_LocalhostCN) -KeyAlgorithm RSA -KeyLength 2048 -HashAlgorithm sha256 -CertStoreLocation $(_CertPath) -TextExtension @('2.5.29.37={text}1.3.6.1.5.5.7.3.1','1.3.6.1.4.1.311.84.1.1={hex}02','2.5.29.19={text}') -KeyUsage DigitalSignature,KeyEncipherment" &&