Skip to content

Commit d5b96b2

Browse files
committed
Disable targeted notifications in integration tests
1 parent 233d7a0 commit d5b96b2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

eng/build.ps1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,11 @@ function Deploy-VsixViaTool() {
629629
&$vsRegEdit set "$vsDir" $hive HKCU "Roslyn\Internal\OnOff\Features" OOP64Bit dword $oop64bitValue
630630

631631
# Disable targeted notifications
632-
&$vsRegEdit set "$vsDir" $hive HKCU "RemoteSettings" TurnOffSwitch dword 1
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+
}
633637
}
634638

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

0 commit comments

Comments
 (0)