Wednesday, December 26, 2012

Tip 5.35: You can add references to your solution directly from the Object Browser

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog



Let's say that you find the component that you want to add to your solution. Typically, you go to Solution Explorer, right-click the project node and select Add References, bring up the Add Reference dialog box, and you know how the rest goes. Within the Object Browser, there's a toolbar button called Add To References located to the right of the "..." browse button and the forward/back navigation buttons. With the Accessibility assembly selected, click the Add To References In Selected Project In Solution Explorer icon to add the assembly.

VSTip5350

And now you'll see the Accessibility assembly added to the project.

VSTip5350a

Happy Programming! =)
Posted by Nils-Holger at 2:18 AM with 435 comments.

Monday, December 24, 2012

Tip 5.34: You can create a custom list of components for the Object Browser

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog


You can create a custom components list for the Object Browser. There are two ways to reach the Edit Custom Component Set dialog box. Either click that little "..." browse button next to the combo box or click the Edit Custom Component Set option in the Browse combo box.

VSTip5340

Now you'll see the Edit Custom Component Set window, where you can add and remove components. And for old time's sake, she has added an Accessibility assembly.

VSTip5340a

Finally, when returning to the Object Browser, you get the following view.

VSTip5340b

Happy Programming! =)
Posted by Nils-Holger at 12:59 PM with 442 comments.

Sunday, December 23, 2012

Tip 5.33: You can specify to show components in your solution only in the Object Browser

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog


By default, the Object Browser shows you all the components in the latest .NET Framework version. But sometimes you don't need to know about the entire world, and you just want to focus on the objects in your solution. In the upper-right corner of the Object Browser, you'll see a Browse combo box. If you drop down the combo box list, you'll see the option for selecting My Solution.

VSTip5330

Happy Programming! =)
Posted by Nils-Holger at 2:02 PM with 447 comments.