3

In my C# windows application solution I've got a Reporting project which contains many datasets. Those datasets are loading to the toolbox automatically. I think that makes my visual studio slower. Is there anyway to stop loading them?

Thanks!

CharithJ
  • 46,289
  • 20
  • 116
  • 131

2 Answers2

3

you can add

[DesignTimeVisible(false)]
[ToolboxItem(false)]

to the classes that you want to hide from the designer. more info from msdn here and here

Yaur
  • 7,333
  • 1
  • 25
  • 36
2

There's a TooboxAutoPopulate setting....

Steve Wellens
  • 20,506
  • 2
  • 28
  • 69