Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keyboard shortcut for add reference to project in Visual Studio?

What is the keyboard shortcut for adding a reference to a project in Visual Studio 2008?

like image 590
JuniorDeveloper Avatar asked Nov 26 '09 10:11

JuniorDeveloper


3 Answers

There is no default shortcut for this however you can add one yourself:

  1. Click Tools -> Options
  2. Select "Keyboard" from the list on the left
  3. In show commands type: Project.AddReference
  4. Select the add reference command, click into the "Press shortcut keys" box and pick your own shortcut.

I'd suggest something like CTRL + ALT + SHIFT + R as the CAS combo tendss to have very little overlap.

like image 111
Wolfwyrd Avatar answered Oct 13 '22 00:10

Wolfwyrd


Ctrl + . shows the menu then select the required reference to add

like image 44
meer Avatar answered Oct 13 '22 01:10

meer


In Visual Studio go to Tools -> Options -> Environment -> Keyboard

You can search all of the keyboard shortcuts and reassign them if you want to.

Project.AddReference appears to be unset out of the box, but you can set your own.

like image 42
James Bloomer Avatar answered Oct 12 '22 23:10

James Bloomer