Skip to content

Commit 58fb4c5

Browse files
authored
Merge pull request #8615 from TerryGLee/tglee-fresh002
update 'Add > Reference' section for Dev16 & Dev17
2 parents 53e72d1 + 9b2fa98 commit 58fb4c5

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

docs/ide/how-to-add-or-remove-references-by-using-the-reference-manager.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Add references in the Reference Manager
33
description: Learn how to use the Reference Manager dialog box to add and manage references to developed components.
44
ms.custom: SEO-VS-2020
5-
ms.date: 08/02/2019
5+
ms.date: 08/30/2021
66
ms.topic: how-to
77
f1_keywords:
88
- VS.ReferenceManager
@@ -44,18 +44,32 @@ The Reference Manager dialog box shows different categories on the left side, de
4444
- **Windows**, with **Core** and **Extensions** subgroups. You can explore the references in the Windows SDK or extension SDKs by using the **Object Browser**.
4545

4646
- **Browse**, with **Recent** subgroup
47-
47+
4848
> [!NOTE]
4949
> You might not see **Browse** in the Reference Manager dialog box if you're developing C++ projects.
5050
5151
## Add a reference
5252

53+
::: moniker range="vs-2017"
54+
5355
1. In **Solution Explorer**, right-click on the **References** or **Dependencies** node and choose **Add Reference**. You can also right-click on the project node and select **Add** > **Reference**.
5456

5557
**Reference Manager** opens and lists the available references by group.
5658

5759
2. Specify the references to add, and then select **OK**.
5860

61+
::: moniker-end
62+
63+
::: moniker range=">=vs-2019"
64+
65+
1. In **Solution Explorer**, right-click on the **References** or **Dependencies** node and choose either **Add Project Reference**, **Add Shared Project Reference**, or **Add COM Reference**. (You can right-click the project node and select **Add** from the fly-out menu to choose from these options, too.)
66+
67+
**Reference Manager** opens and lists the available references by group.
68+
69+
2. Specify the references to add, and then select **OK**.
70+
71+
::: moniker-end
72+
5973
## Assemblies tab
6074

6175
The **Assemblies** tab lists all .NET assemblies that are available for referencing. The **Assemblies** tab doesn't list any assemblies from the global assembly cache (GAC) because assemblies in the GAC are part of the run-time environment. If you deploy or copy an application that contains a reference to an assembly that's registered in the GAC, the assembly won't be deployed or copied with the application, regardless of the **Copy Local** setting. For more information, see [Manage references in a project](../ide/managing-references-in-a-project.md).

0 commit comments

Comments
 (0)