Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to disable Visual Studio 2008 toolbox and designer?

Is it possible to disable the toolbox and form designer in VS2008 for web applications? I never use the thing and everytime I try to open a markup file (be it aspx, asmx, or most anything with markup content), the IDE spends upwards of a minute initializing the toolbox.

Since I never use the designer, is there any way to turn this off and save myself some time?

like image 977
3Dave Avatar asked Sep 16 '09 15:09

3Dave


People also ask

What is the purpose of the Toolbox window?

The Toolbox window displays controls that you can add to Visual Studio projects.

What does a Visual Basic Toolbox provide?

Displays the standard Visual Basic controls plus any ActiveX controls and insertable objects that you have added to your project. You can customize the Toolbox by adding pages to it or by adding controls by using the Additional Controls command from the Tools menu.

Where are tools in VS code?

To open the Visual Studio Installer, choose Tools, and then choose Get Tools and Features.... Then install the Visual Studio extension development workload.


3 Answers

Right-click on a file and select "Open With..."

Select Editor of your choice then click "Set as Default".

This will allow you to just double click it forever with no UI Designer unless you want to.

If it's still a problem you can always reduce how much memory your toolbox/UI designer uses by removing custom control generation in your toolbox window. To do this go to:

  • Tools / Options / Windows Form Designer / AutoToolboxPopulate - set to false

Now this will not populate your toolbox with custom controls anymore from your solution, which is probably the problem with your loading.

like image 160
Gram Avatar answered Oct 28 '22 21:10

Gram


Right-click the file and choose Open With... and change the default to a code editor.

like image 4
Cecil Has a Name Avatar answered Oct 28 '22 20:10

Cecil Has a Name


There will be an option to turn off the HTML designer in Visual Studio 2010 (see Code Optimized Web Development Profile (VS 2010 and .NET 4.0 Series) from ScottGu), but I don't think there's any way to do that in Visual Studio 2008.

There is a setting to open pages in Source View by default, instead of Design View. I'm not sure how much that helps with the time taken to initialize the toolbox, but it, at least, doesn't spend time rendering the preview. That setting is under the HTML Designer node in the Options dialog.

like image 1
bdukes Avatar answered Oct 28 '22 21:10

bdukes