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/standard/assembly/embed-types-visual-studio.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,9 +58,9 @@ The first step is to create the type equivalence interface assembly.
58
58
59
59
1. Select **Build** on the left pane of the **Properties** screen, and set the **Output path** to a location on your computer, such as *C:\TypeEquivalenceSample*. You use the same location throughout this walkthrough.
60
60
61
-
1. Select **Signing** on the left pane of the **Properties** screen, and then select the **Sign the assembly** check box. In the dropdown for **Choose a strong name key file**, select **New**.
61
+
1. Select **Build**> **Strong naming**on the left pane of the **Properties** screen, and then select the **Sign the assembly** check box. In the **Strong name key file**, select **Browse**.
62
62
63
-
1.In the **Create Strong Name Key** dialog, under **Key file name**, type *key.snk*. Deselect the **Protect my key file with a password** check box, and then select **OK**.
63
+
1.Navigate to and select the *key.snk* file you created in the *TypeEquivalenceInterface* project, and then select **OK**. For more information, see [Create a public-private key pair](create-public-private-key-pair.md).
64
64
65
65
1. Open the *ISampleInterface* class file in the code editor, and replace its contents with the following code to create the `ISampleInterface` interface:
66
66
@@ -123,11 +123,11 @@ Next, create the type equivalence runtime class.
123
123
124
124
1. In **Solution Explorer**, right-click the **TypeEquivalenceInterface** project and select **Properties**.
125
125
126
-
1. Select **Build** on the left pane of the **Properties** screen, and then set the **Output path** to the same location you used for the TypeEquivalenceInterface project, for example, *C:\TypeEquivalenceSample*.
126
+
1. Select **Build** on the left pane of the **Properties** screen, and then set the **Output path** to the same location you used for the *TypeEquivalenceInterface* project, for example, *C:\TypeEquivalenceSample*.
127
127
128
-
1. Select **Signing** on the left pane of the **Properties** screen, and then select the **Sign the assembly** check box. In the dropdown for **Choose a strong name key file**, select **New**.
128
+
1. Select **Build**> **Strong naming**on the left pane of the **Properties** screen, and then select the **Sign the assembly** check box. In the **Strong name key file**, select **Browse**.
129
129
130
-
1.In the **Create Strong Name Key** dialog, under **Key file name**, type *key.snk*. Deselect the **Protect my key file with a password** check box, and then select **OK**.
130
+
1.Navigate to and select the *key.snk* file you created in the *TypeEquivalenceInterface* project, and then select **OK**. For more information, see [Create a public-private key pair](create-public-private-key-pair.md).
131
131
132
132
1. In **Solution Explorer**, right-click the **TypeEquivalenceRuntime** project and select **Add** > **Reference**.
0 commit comments