HOW TO: Stop the Task View Window from Automatically Changing (325831)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition

This article was previously published under Q325831

SUMMARY

This article describes how to stop the Task List view from switching automatically when you experience build errors.

In a default installation of Visual Studio .NET, when you set the Task List view category to any option other than Build Errors, and then you build a Visual Studio .NET solution that generates build errors, the Task List view switches to the Build Errors task view automatically. This occurs because an Environment setting, Show Task List window if build finishes with errors, is turned on.

back to the top

Set View Categories

The Visual Studio .NET Task List window has different views that show tasks in various pre-defined categories. To set these categories, right-click the Task List window, and then click Show Tasks.

back to the top

Change the Environment Setting

To change the Environment setting, follow these steps:
  1. On the Tools menu, click Options.
  2. Click the Environment folder, click Projects and Solutions, and then click to select (or click to clear) the Show Task List window if build finishes with errors check box.
If you clear this check box, the Task List view no longer switches to the Build Errors view when you experience project build errors.

back to the top

Open or Close the Task List

When this Environment setting is turned on (as it is by default), another issue that occurs is that the Task List window always opens when you build a solution that contains build errors, even if it is closed. If you want the Task List window to always remain closed, click to clear the Show Task List window if build finishes with errors check box, and then close the Task List window.

To open the Task List window, use one of the following methods:
  • Method 1: On the View menu, click Other Windows, and then click Task List.
  • Method 2: Press Ctrl+Alt+K.
back to the top

REFERENCES

For more information about Task List Views, visit the following Microsoft Developer Network (MSDN) Web site: NOTE: This information is also available in the Microsoft Visual Studio .NET Help documentation.

back to the top

Modification Type:MajorLast Reviewed:10/26/2002
Keywords:kbhowto kbHOWTOmaster KB325831 kbAudDeveloper