Click here to Skip to main content
15,886,422 members
Articles / Visual Studio

“Searchable Add Reference” Dialog using Visual Studio 2010 Productivity Power Tool

Rate me:
Please Sign up or sign in to vote.
4.71/5 (3 votes)
24 Jul 2010CPOL4 min read 16.1K   6
“Searchable Add Reference” dialog using Visual Studio 2010 Productivity Power Tool

In my earlier post on “Interactive ToolTip using Visual Studio 2010 Productivity Power Tool”, I discussed about “Interactive ToolTip” feature which comes with the Visual Studio 2010 Productivity Power Tool. In this post, I will share information about the all new “Add Reference” dialog which is fully searchable for assembly reference.

image

If you haven't install the Visual Studio 2010 Productivity Power Tool yet, you can download it from Visual Studio Gallery. You can also directly download it directly from here. Read the complete post to know more about the new “Add Reference” dialog.

Visual Studio 2010 Productivity Power Tools replace the default “Add Reference” dialog of the IDE. It now has complete searchable UI for assembly reference with more interactive tabbed category. Before going deep to the new searchable UI, let us first see the existing “Add Reference” dialog present in Visual Studio 2010:

image

The above screenshot represents the existing UI of the “Add Reference” dialog box, which doesn’t have any interactive visual, no searching mechanism. Hence, if you want to search for an assembly name, it was really very difficult when lots of DLLs are registered in your PC. Ohh!!! Sad smile

Let’s see the new UI. You will see the below dialog box for Add Reference once you install the Productivity Power Tool. It has a nice user interface and the tabs are categorised in more organized manner (see the screenshot part 1).

image

Now, you will see a Green tick mark on the assemblies which are already added in your project (see the screenshot part 2). Selecting any unselected assembly will have the “Add” button. Once you clicked on it, the assembly will get added in your project and be marked as Green tick mark in the UI. Clicking on already included assembly will change the “Add” button to a “Remove” button. Clicking on the Remove button will remove the selected assembly reference from the project and remove the tick mark from it.

It now has a Sorting Dropdown at the right top corner (see screenshot part 3). Once clicked, you will see the below dropdown having various order methods like Sorting in Ascending or Descending order by Name, Path and Version.

image

Hey!!! Surprised smile What is this? It now has the “Search Assemblies” field (see the screenshot part 4). OMG!!! Great one. It is now easier to search for an assembly in the “Add Reference” dialog. Once you start typing on the TextBox, you will see the assembly box has been filtered according to your query. Have a look here. It filters out “PresentationFramework” as I typed “presentationfr” as the key of my query.

image

It now has more visibility to the DLL we want to add as reference. Clicking on the assembly name will show you details about the DLL like Name, CreatedBy, Version, etc. (see screenshot part 5).

You can now easily add a new assembly reference by clicking the “Browse” button present at the bottom of the screen. Once you browse through the path, you have to click the “Add” button to add it as a DLL reference to your project.

It’s cool, right? Yes, it now has more power to filter and sort the references. But what if you are seeing the existing UI after the installation of the Productivity Power Tool too!!! Yea, you have to restart your Visual Studio 2010 IDE to load the add-in. And if after the restart also you are unable to see the new UI, then it might not be enabled. Go to Tools –> Options which will bring up the “Options” dialog page in your screen. Select the “Productivity Power Tools” from the left pane and find the “Searchable Add Reference Dialog” option in the right pane. It might be “OFF”.

image

In such a case, click on the option and it will make it enabled (“ON”). Restart your IDE for the changes to take effect. Once you reopen your project and click on the “Add Reference” menu item to add a DLL reference, you will see the new “Searchable Add Reference” dialog in your screen.

image

There are various features available in the Productivity Power Tools of Visual Studio 2010. Go and download it. Explore more features and be more productive on your daily development work. Keep an eye to my blog for more Tips/Tricks on it in near feature. As and when I explore a new one, I will share with you. Follow My Tweets to be updated of my blog posts.

Image 11
Image 12

Image 13

This article was originally posted at http://www.kunal-chowdhury.com/feeds/posts/default

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead
India India

Kunal Chowdhury is a former Microsoft "Windows Platform Development" MVP (Most Valuable Professional, 2010 - 2018), a Codeproject Mentor, Speaker in various Microsoft events, Author, passionate Blogger and a Senior Technical Lead by profession.

He is currently working in an MNC located in India. He has a very good skill over XAML, C#, Silverlight, Windows Phone, WPF and Windows app development. He posts his findings, articles, tutorials in his technical blog (www.kunal-chowdhury.com) and CodeProject.


Books authored:


Connect with Kunal on:





Comments and Discussions

 
GeneralGood work Pin
Sushant Joshi8-Sep-10 3:48
Sushant Joshi8-Sep-10 3:48 
GeneralRe: Good work Pin
Kunal Chowdhury «IN»8-Sep-10 3:52
professionalKunal Chowdhury «IN»8-Sep-10 3:52 
GeneralMy vote of 3 Pin
Günther M. FOIDL1-Aug-10 13:28
Günther M. FOIDL1-Aug-10 13:28 
AnswerRe: My vote of 3 Pin
Kunal Chowdhury «IN»8-Sep-10 3:51
professionalKunal Chowdhury «IN»8-Sep-10 3:51 
GeneralGood work Pin
Abhishek Sur25-Jul-10 3:53
professionalAbhishek Sur25-Jul-10 3:53 
GeneralRe: Good work Pin
Kunal Chowdhury «IN»27-Jul-10 8:02
professionalKunal Chowdhury «IN»27-Jul-10 8:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.