未验证 提交 343aaaca 编写于 作者: S Sam Harwell 提交者: GitHub

Merge pull request #35055 from sharwell/background-download

Disable background download UI to avoid toasts
......@@ -324,6 +324,9 @@ private static Process StartNewVisualStudioProcess(string installationPath, int
// Disable roaming settings to avoid interference from the online user profile
Process.Start(vsRegEditExeFile, $"set \"{installationPath}\" {Settings.Default.VsRootSuffix} HKCU \"ApplicationPrivateSettings\\Microsoft\\VisualStudio\" RoamingEnabled string \"1*System.Boolean*False\"").WaitForExit();
// Disable background download UI to avoid toasts
Process.Start(vsRegEditExeFile, $"set \"{installationPath}\" {Settings.Default.VsRootSuffix} HKCU \"FeatureFlags\\Setup\\BackgroundDownload\" Value dword 0").WaitForExit();
// Enable or disable async completion as necessary for integration testing
var usingAsyncCompletion = LegacyCompletionCondition.Instance.ShouldSkip;
var useAsyncCompletionSetting = usingAsyncCompletion ? 1 : -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册