WoVS Quick Add Reference extension for Visual Studio 2010

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

This entry was posted in Reviews and tagged , . Bookmark the permalink.

3 Responses to WoVS Quick Add Reference extension for Visual Studio 2010

  1. alwaysveggie says:

    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

    • 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.

  2. user1 says:

    The link no longer works – “This item is not yet published.”
    Maybe someone who downloaded this extension could share it?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s