Skip to Content
Windows Developer Power Tools
book

Windows Developer Power Tools

by James Avery, Jim Holmes
December 2006
Intermediate to advanced
1312 pages
35h 17m
English
O'Reilly Media, Inc.
Content preview from Windows Developer Power Tools

Adding a Reference to Your Projects

Installing a tool on your system isn’t enough for you to make use of its features as you write code. You need to make each of your Visual Studio projects aware of where the code libraries you wish to reference are actually located. This step enables the environment to look through a tool’s assembly and determine which classes, methods, properties, and so on are exposed by that particular tool.

Begin by right-clicking on the References folder in the project where you need to use the tool. Select the Add Reference option from the resulting context menu (Figure A-1).

The Add Reference dialog (Figure A-2) will appear. This dialog offers you several options, depending on the type of tool you’re using and how it has installed itself. Each tab lists different types of components you’re able to reference.

You’ll need to decide which tab to use based on the type of component, as reflected in this list:

.NET

Lists all available .NET Framework components. This list is not derived from assemblies installed into the Global Assembly Cache, but rather is path-based and determined by keys added to the registry when the components were installed.

Pulling up the Add Reference context menu

Figure A-1. Pulling up the Add Reference context menu

The Add Reference dialog

Figure A-2. The Add Reference dialog

COM

Lists all available COM components. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Introducing .NET 6: Getting Started with Blazor, MAUI, Windows App SDK, Desktop Development, and Containers

Introducing .NET 6: Getting Started with Blazor, MAUI, Windows App SDK, Desktop Development, and Containers

Nico Vermeir
Visual Basic 2015 Unleashed

Visual Basic 2015 Unleashed

Alessandro Del Sole

Publisher Resources

ISBN: 0596527543Errata PagePurchase book