Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2008 -- Can I change which "add reference" tab is selected by default?

Every time you start Visual Studio, the first time you click "Add Reference" to add a DLL reference to a project, by default, the .NET tab on that dialog box is selected. As most people reading this have probably noticed, it can take a long time -- often more than 30 seconds -- for the full list of .NET components to fill in.

Because of the way we're designing our solutions, though, about 80% of the time, I want to select either from the "Projects" tab or from the "Browse" tab.

Is there a setting anywhere in Visual Studio that will let me make "Projects" be the first tab that loads up? Does anyone know any other, hidden tricks to accomplish the same effect?

like image 665
Kevin Crumley Avatar asked Oct 13 '08 23:10

Kevin Crumley


2 Answers

I use this tip to do this in a different way. Open your Object Browser (Cntrl + Alt + J). Change Browse dropdown to "My Solution". Select the project you want. On Toolbar, click "Add to References in Selected Project in Solution Explorer".

A neat work around which has saved me many hours.

like image 84
Gulzar Nazim Avatar answered Oct 20 '22 13:10

Gulzar Nazim


If you have the PowerCommands for Visual Studio 2008 installed, there is functionality to copy-paste references between projects, as well as copy-paste individual projects as references, all without opening the references dialog.

like image 43
Tarsier Avatar answered Oct 20 '22 14:10

Tarsier