简体   繁体   English

禁用错误声音视觉工作室2012

[英]disable error sounds visual studio 2012

Looked for a solution but I only found 1 answer which is semi good- it is disabling the system sounds... 寻找一个解决方案,但我只发现了一个半好的答案 - 这是禁用系统声音...

What I want is to disable the annoying error sounds that visual studio makes when there are errors on build. 我想要的是禁用Visual Studio在构建时出现错误时产生的令人讨厌的错误声音。 I use headphones and it is really annoying. 我用耳机,真的很烦人。 I want to disable it, WITHOUT disabling/modifying the windows' system sounds in the control panel... is it possible?? 我想禁用它,没有在控制面板中禁用/修改窗口的系统声音......是否可能?

( similar problem ) 类似问题

Solution 1: Set the sound to none 解决方案1:将声音设置为无

It's in Control Panel -> Sound . 它在Control Panel -> Sound Look for Microsoft Visual Studio , set the sound for Build Failed to (None) . 查找Microsoft Visual Studio ,将Build Failed的声音设置为(None)

在此输入图像描述

Solution 2: Registry 解决方案2:注册表

  1. Open Registry Editor 打开Registry Editor
  2. Go to the following keys and delete their values: HKEY_CURRENT_USER\\AppEvents\\Schemes\\Apps\\devenv\\VS_BuildFailed\\.current HKEY_CURRENT_USER\\AppEvents\\Schemes\\Apps\\devenv\\VS_BuildFailed\\.Modified 转到以下键并删除它们的值: HKEY_CURRENT_USER\\AppEvents\\Schemes\\Apps\\devenv\\VS_BuildFailed\\.current HKEY_CURRENT_USER\\AppEvents\\Schemes\\Apps\\devenv\\VS_BuildFailed\\.Modified 在此输入图像描述

Solution 3: Adjust the sound volume of Visual Studio 解决方案3:调整Visual Studio的音量

  1. Make sure you have assigned sound for items in Microsoft Visual Studio in Control Panel -> Sound . 确保为Control Panel -> Sound中的Microsoft Visual Studio中的项目分配了Control Panel -> Sound It can be Breakpoint Hit , Build Canceled , Build Failed or Build Succeed . 它可以是Breakpoint HitBuild CanceledBuild FailedBuild Succeed
  2. Purposely hit a break point or build successfully or whatever, just to force Visual Studio to make a sound. 故意点击一个断点或成功构建或者其他什么,只是为了强制Visual Studio发出声音。 This step is required, otherwise you won't see volume control for Visual Studio in step 5. 此步骤是必需的,否则您将在步骤5中看不到Visual Studio的音量控制。
  3. Click the speaker icon on the tray area of the taskbar. 单击任务栏托盘区域上的扬声器图标。
  4. Click Mixer in the popup window. 在弹出窗口中单击“ Mixer ”。

在此输入图像描述

  1. You will see something like the below. 你会看到类似下面的东西。 Adjust the volume for Microsoft Visual Studio . 调整Microsoft Visual Studio的卷。 You can also mute just Visual Studio by clicking the speaker icon below it. 您还可以通过单击Visual Studio下方的扬声器图标使其静音。 在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM