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?
The Toolbox window displays controls that you can add to Visual Studio projects.
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.
To open the Visual Studio Installer, choose Tools, and then choose Get Tools and Features.... Then install the Visual Studio extension development workload.
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:
Now this will not populate your toolbox with custom controls anymore from your solution, which is probably the problem with your loading.
Right-click the file and choose Open With...
and change the default to a code editor.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With