Skip to content

Commit 3ef9b12

Browse files
committed
Disable targeted notifications in integration tests
1 parent d9c433e commit 3ef9b12

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

eng/build.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,13 @@ function Deploy-VsixViaTool() {
627627
# Configure RemoteHostOptions.OOP64Bit for testing
628628
$oop64bitValue = [int]$oop64bit.ToBool()
629629
&$vsRegEdit set "$vsDir" $hive HKCU "Roslyn\Internal\OnOff\Features" OOP64Bit dword $oop64bitValue
630+
631+
# Disable targeted notifications
632+
if ($ci) {
633+
# Currently does not work via vsregedit, so only apply this setting in CI
634+
#&$vsRegEdit set "$vsDir" $hive HKCU "RemoteSettings" TurnOffSwitch dword 1
635+
reg add hkcu\Software\Microsoft\VisualStudio\RemoteSettings /f /t REG_DWORD /v TurnOffSwitch /d 1
636+
}
630637
}
631638

632639
# Ensure that procdump is available on the machine. Returns the path to the directory that contains

0 commit comments

Comments
 (0)