如何报告 Visual Studio 或 Visual Studio 安装程序的问题How to report a problem with Visual Studio or Visual Studio Installer

备注

对于 Visual Studio for Mac,请参阅如何报告 Visual Studio for Mac 的问题For Visual Studio for Mac, see How to report a problem in Visual Studio for Mac.

可以使用 Visual Studio 或其安装程序中包含的反馈工具报告问题。You can report a problem from either Visual Studio or its installer by using the Feedback Tool included in them. 反馈工具使你能够轻松地在反馈中包含诊断信息,并帮助 Visual Studio 团队更有效地诊断和修复问题。The Feedback Tool enables you to easily include diagnostic information in your feedback and helps Visual Studio teams to diagnose and fix issues much more effectively. 下面是报告问题的步骤。Here are the steps to report a problem.

  1. 在 Visual Studio 中,选择右上角的反馈图标并选择“报告问题”。In Visual Studio, select the feedback icon in the upper-right corner and select Report a Problem. 此外可以从菜单“帮助” > “发送反馈” > “报告问题”来访问反馈工具。You can also access the feedback tool from the menu Help > Send Feedback > Report a Problem. Visual Studio 开发人员社区中的“报告问题”弹出窗口 或者,如果无法安装 Visual Studio 或无法访问 Visual Studio 中的反馈工具,则在 Visual Studio 安装程序中报告问题。Report an issue pop-up on Visual Studio Developer Community Alternatively, report a problem in Visual Studio Installer if you can't install Visual Studio or are unable to access the feedback tool within Visual Studio. 在安装程序中,选择右上角的反馈图标并选择“报告问题”。In the Installer, select the feedback icon in the upper-right corner and select Report a Problem. Visual Studio 开发人员社区中的“报告问题”弹出窗口Report an issue pop-up on Visual Studio Developer Community

  2. 如果未登录,请选择“登录”,如以下屏幕截图所示。If not signed in, select Sign In as shown in the following screenshot. 按照屏幕上的说明登录。Follow the instructions on-screen to sign in.

    登录以报告问题

    不仅可以在登录时报告问题,还可以对任何现有反馈进行投票和评论。Not only can you report a problem when you are signed in, but you can also vote and comment on any existing feedback.

  3. 登录后,可在“我关注的项”屏幕上看到自己的“问题”和“活动”Once signed in, you will be able to see your Problems and Activity on the Items I follow screen

    我关注的项

  4. Visual Studio 提供了一个界面,用于搜索问题并查看其他人是否已报告该问题。Visual Studio provides an interface to search for your problem and see if others have reported it. 如果有人已报告此问题,请为其“投票”以便让我们知道。If someone has reported it, "up-vote" it to let us know.

    备注

    若要搜索,请在搜索框中输入所需文本,然后单击 Enter 或按“搜索”图标。In order to search, please input the desired text into the search box and either click Enter or press the Search icon.

    搜索类似的问题并为其投票

  5. 如果未找到你所遇到的问题,请选择屏幕底部的“报告新问题”。If you don't find the problem you encountered, choose Report new problem at the bottom of the screen.

  6. 为此问题创建一个描述性标题,帮助我们将其发送到正确的 Visual Studio 团队。Create a descriptive title for the problem that helps us route it to the correct Visual Studio team.

  7. 向我们提供任何其他详细信息,如有可能,请同时提供再现该问题的步骤。Give us any additional details, and if possible, provide us with the steps to reproduce the problem.

    报告新问题

  8. 选择“下一步”,移至“附件”选项卡 。在此处,可截取当前屏幕并将其发送给 Microsoft。Select Next to move to the Attachments tab. Here, you can capture your current screen to send it to Microsoft. 若要附加其他屏幕截图或其他文件,请选择“附加其他文件”。To attach additional screenshots or other files, choose Attach Additional Files.

    将屏幕截图附加到 Visual Studio 问题报告

  9. 如果不想附加屏幕截图或记录重现,请选择“下一步”移至“摘要”选项卡 。If you don't want to attach a screenshot or record a repro, select Next to move to the Summary tab.

  10. 单击“提交”发送报告,以及任何图像和跟踪或转储文件。Select Submit to send your report, along with any images and trace or dump files. (如果“提交”按钮为灰色,请确保你已提供报告的标题和说明。)(If the Submit button is grayed out, make sure that you've provided a title and description for the report.)

    有关所收集数据的信息,请参阅我们收集的数据For information about what data is collected, see Data we collect.

记录重现Record a repro

跟踪和堆转储文件在帮助我们诊断问题方面很有用。Trace and heap dump files are useful in helping us diagnose problems. 如果你使用“报告问题”工具记录重现步骤并将数据发送给 Microsoft,我们非常感激。We appreciate it when you use the Report a Problem tool to record your repro steps and send the data to Microsoft. 以下是操作方法:Here's how to do so:

  1. 输入问题的标题和说明后,选择“下一步”移至“附件”选项卡 。After you enter a title and description for your problem, select Next to move to the Attachments tab.

  2. 选择“记录”选项卡。Select the Record tab.

  3. 在“记录操作”下,如果可在这里重现问题,请选择 Visual Studio 的当前实例。Under Record your actions, select the current instance of Visual Studio if you can reproduce the problem there. 如果不能(例如 Visual Studio 停止响应),请选择 <Create a new instance> 以在新的 Visual Studio 实例中记录操作。If you can't, for example if Visual Studio stops responding, select <Create a new instance> to record the actions in a new instance of Visual Studio.

  4. 选择“开始记录”。Select Start Recording. 授予运行该工具的权限。Give permission to run the tool.

    选择“开始录制”,在 Visual Studio 问题报告中提供跟踪和堆转储文件

  5. 显示步骤记录器工具后,执行重现问题的步骤。When the Steps Recorder tool appears, perform the steps that reproduce the problem.

  6. 完成后,选择“停止记录”按钮。When you're done, choose the Stop Record button.

  7. 请等待几分钟时间,以便 Visual Studio 收集和打包已记录的信息。Wait a few minutes for Visual Studio to collect and package the information that you recorded.

    有关所收集数据的信息,请参阅我们收集的数据For information about what data is collected, see Data we collect.

如果需要进一步信息(需要更多信息)When further information is needed (Need More Info)

从 Visual Studio 2017 版本 15.5 开始,提供了新的工作流以帮助用户提供有关问题报告的其他信息。Starting in Visual Studio 2017 Version 15.5, there's a new workflow to help users provide additional information about problem reports.

  1. Microsoft 工程师将 Visual Studio 开发人员社区问题设置为“需要更多信息”状态后,发布、投票、关注或评论该问题的任何用户都会在 Visual Studio 中的“报告问题”工具中收到通知 。When a Microsoft engineer sets the Visual Studio Developer Community problem to the Need More Info state, any user that posted, voted, followed, or commented on the problem gets a notification in the Report A Problem tool in Visual Studio.

    Visual Studio 中的“需要更多信息”通知

  2. 单击“查看问题链接”可对问题进行筛选和排序,值查看需要注意的问题。Click on the View Problems link to filter and sort the view to the problems that need attention. 问题旁边还有一个指示符,可在常规搜索中以此区分问题。These problems also have an indicator next to them, to differentiate them in general search.

  3. 单击问题可查看问题详细信息视图。Click on a problem to see the problem details view.

    “需要更多信息”通知

  4. 若要查看“需要更多信息”请求,请单击问题详细信息视图中的“查看他们的请求和回复”链接 。To view the Need More Info request, click the View their request and respond link in the problem details view. 对话框将显示请求。A dialog box shows the request.

    “需要更多信息”通知

  5. 可以通过添加注释、附件或记录步骤来提供更多信息。You can provide more information by adding comments, attachments, or recording steps. 此体验类似于报告新问题或在对问题进行投票时提供其他信息。This experience is similar to reporting a new problem or providing additional information when voting on a problem.

  6. 提供额外信息后,发出请求的 Microsoft 工程师会收到相关通知。The requesting Microsoft engineer receives a notification about the extra information provided. 如果获取的信息足以开展调查,问题状态随即更改。If they have enough information to investigate, the problem state changes. 否则,工程师会要求提供更多信息。Otherwise, the engineer asks for even further information.

    备注

    • 进行回复时,通知将会消失。When you reply, the notification goes away. 取而代之的是一条横幅,其中表达了感谢并介绍了提供更多信息的方法。In its place, you see a banner that thanks you and facilitates a way to provide even more information.
    • 问题状态更改后,所有关注此问题的人收到的该通知都会消失。Once the issue changes state, the notification goes away for everyone that's following the issue.
    • 可以多人回复同一“需要更多信息”请求。More than one person can reply on the same Need More Info request.
    • 如果通过 Web 浏览器直接访问开发人员社区,那么其上没有“需要更多信息”工作流,但也可以提供评论和附件。There isn't a Need More Info workflow on Developer Community when you access it directly through a web browser, but you can also provide comments and attachments there.

搜索解决方案或提供反馈Search for solutions or provide feedback

如果不希望或不能使用 Visual Studio 报告问题,可能 Visual Studio 开发人员社区页上已报告此问题并且已发布解决方案。If you don't want to or can't use Visual Studio to report a problem, there's a chance the problem has already been reported and a solution posted on the Visual Studio Developer Community page.

如果没有要报告的问题但希望建议一项功能,也可以在此处提供反馈。If you don't have a problem to report but want to suggest a feature, there's a place for that, too. 有关详细信息,请参阅建议一项功能页面。For more information, see the Suggest a feature page.

请参阅See also