You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ide/how-to-add-or-remove-imported-namespaces-visual-basic.md
+21-6Lines changed: 21 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Imported namespaces are managed on the **References** page of the **Project Desi
22
22
23
23
### To add an imported namespace
24
24
25
-
1. In **Solution Explorer**, right-click the project node and select **Properties**.
25
+
1. In **Solution Explorer**, right-click the project node and select **Properties**, or press **Alt**+**Enter**.
26
26
27
27
2. In the **Project Designer**, go to **References**.
28
28
@@ -33,7 +33,7 @@ Imported namespaces are managed on the **References** page of the **Project Desi
33
33
34
34
### To remove an imported namespace
35
35
36
-
1. In **Solution Explorer**, right-click the project node, and select **Properties**.
36
+
1. In **Solution Explorer**, right-click the project node, and select **Properties**, or press **Alt**+**Enter**.
37
37
38
38
2. In the **Project Designer**, go to **References**.
39
39
@@ -46,9 +46,9 @@ If you later change you mind and decide that was really the `EventLog` class tha
46
46
47
47
### To add a user import
48
48
49
-
1. In **Solution Explorer**, double-click the **My Project** node for the project.
49
+
1. In **Solution Explorer**, right-click the project node, and select **Properties**, or press **Alt**+**Enter**.
50
50
51
-
2. In the **Project Designer**, click the**References** tab.
51
+
2. In the **Project Designer**, go to**References**.
52
52
53
53
3. In the text box below the **Imported Namespaces** list, enter the full name for the namespace you wish to import, including the root namespace.
54
54
@@ -59,16 +59,31 @@ If you later change you mind and decide that was really the `EventLog` class tha
59
59
60
60
### To update a user import
61
61
62
-
1. In **Solution Explorer**, double-click the **My Project** node for the project.
62
+
1. In **Solution Explorer**, right-click the project node, and select **Properties**, or press **Alt**+**Enter**.
63
63
64
-
2. In the **Project Designer**, click the**References** tab.
64
+
2. In the **Project Designer**, go to**References**.
65
65
66
66
3. In the **Imported Namespaces** list, select the namespace you wish to change.
67
67
68
68
4. In the text box below the **Imported Namespaces** list, enter the name for the new namespace.
69
69
70
70
5. Click the **Update user import** button to update the namespace in the **Imported Namespaces** list.
71
71
72
+
## In the project file
73
+
74
+
As you make changes in the Project Designer, the project file is updated to reflect your changes. The imported namespaces appear in the project file as shown in the following code:
0 commit comments