CharithJ
CharithJ

Reputation: 47610

Stop DataSet coming to the Toolbox

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!

Upvotes: 3

Views: 567

Answers (2)

Yaur
Yaur

Reputation: 7452

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

Upvotes: 3

Steve Wellens
Steve Wellens

Reputation: 20638

There's a TooboxAutoPopulate setting....

Upvotes: 2

Related Questions