4

The Loadingtime from the ToolBox is lagging my Environment. How can I disable the Toolbox in VisualStudio 2008.

I dont use the ToolBox, I work only in the XAML Code Mode.

Edit. I mean the xamlcodeMode what i need , and I should like disable the desginMode.. sry

Mario Binder
  • 1,604
  • 4
  • 16
  • 24
  • Just click the X at the top of the toolbox or use the View menu... is this a serious question? – Lazarus Jul 31 '09 at 10:00
  • yes this is a serious question... but i think u missunderstood me, if I open a view then should i like only the xamlcode and not the designmode, what load the Toolbox automatic – Mario Binder Jul 31 '09 at 10:05

6 Answers6

1

WinForms has an automated load, so perhaps the XAML editor options has similar?

How to stop Toolbox from loading controls out of every project in Solution

Try going to the Tools, Options window, Windows Forms Designer section and set AutoToolboxPopulate to false. [Carlos J. Quintero]

0

Maybe I need more information about what you really need, but I will recomend you that take a look to XAMLPad.

Good Luck.

Jonathan
  • 11,809
  • 5
  • 57
  • 91
0

Press the X in the top right corner (of the toolbox window)?

Mark Ingram
  • 71,849
  • 51
  • 176
  • 230
0

The Toolbox can still be slow when closed. I notice the statement in the STATUS BAR at the bottom sometimes stating "updating toolbox from assembly XXX" or something like that. And it is closed, not collapsed or hidden!

You can disable opening XAML in design view, which can speed up things a lot, but it does mean that you loose intellisense.

For me it was worth it at some point, and I don't need it always.

To disable the WPF designer mode for XAML, right-click the .xaml file, click "Open With", select XML editor (and consider SET AS DEFAULT).

If you set it as the DEFAULT way, you can always change your mind and open specific files in design view again by selecting OPEN WITH, and then the AUTOMATIC EDITOR at the top, or set it back as the DEFAULT mode.

You will notice that whenever you use the DESIGNER view again, things are A LOT slower for WPF XAML files.

Martin Lottering
  • 1,624
  • 19
  • 31
-1

Why not just closing it?

Ctrl + Alt + X in design view (this shortcut could be different depending on your settings)

Drake
  • 8,225
  • 15
  • 71
  • 104
  • 1
    closing the toolbox does not get rid of the annoying "initializing toolbox" forced 3 minutes coffee break. – o_o Sep 18 '09 at 13:13
-1

I think you need to seriously look into your machine if you have installed any unnecessary controls or lot of other 3rd party controls. Toolbox shouldn't be initialized always whenever you open VS. The above suggested ways (closing Toolbox and Exit Visual studio properly by choose File->Exit menu will save the layout of Visual studio) are correct and I don't think that there another way to turn off it.

sankar
  • 1,724
  • 1
  • 22
  • 37