Visual Studio add-ins, extensions and tools

April 25, 2012

WoVS Quick Add Reference extension for Visual Studio 2010

Filed under: Reviews — Tags: , — Sergey Vlasov @ 8:05 pm

Quick Add Reference extension by Clarius Consulting lets you quickly add a missing reference for a type in C# code. When you use a new type and Visual Studio 2010 asks are you missing an assembly reference, in the correction options popup menu you now have the item to add the reference:

Add reference menu item in Visual Studio 2010 correction options popup menu

Add reference menu item in Visual Studio 2010 correction options popup menu

Selecting the Add Reference menu item adds the reference and adds the necessary using statement:

PresentationCore assembly reference and using System.Windows statement added by the Quick Add Reference extension

PresentationCore assembly reference and using System.Windows statement added by the Quick Add Reference extension

To open the correction options popup menu in Visual Studio 2010 you can hover the mouse over the help button or press Ctrl + . (Ctrl and dot). The same add reference menu item is available in the Error List tool window for the assembly not referenced error:

Add reference menu item in the build error description context menu

Add reference menu item in the build error description context menu

The Quick Add Reference extension learns about types and corresponding assemblies as you add them using the standard Add Reference dialog. Once you’ve added an assembly manually, Quick Add Reference remembers it and in the future will offer you an option to add it via the popup menu.

The free Quick Add Reference extension supports only Visual Studio 2010 and C# language. You can download it from the Visual Studio Gallery.

 

 

Organize Visual Studio tabs with Tabs Studio add-in

2 Comments

  1. Hi,
    I have added this add-in to my Visual Studio 2010 and can also see it in my Extension Manager as installed. But still I do not get the option to add a reference whenever I type a class name whose reference has not been added.
    I also restarted my PC after installing the add-in, but no success.

    Please help.

    Thank you

    Comment by alwaysveggie — May 3, 2012 @ 12:27 pm

    • Quick Add Reference is probably doesn’t know the corresponding assembly for your class yet. Try to add this assembly as usual using the standard Add Reference dialog. After that for all your other projects the add-in should work as intended.

      Comment by Sergey Vlasov — May 3, 2012 @ 3:11 pm


RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Theme: Shocking Blue Green. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.