Skip to content

Commit 59b86bf

Browse files
authored
Address concerns in dotnet#31601 (dotnet#31762)
1 parent d5d2695 commit 59b86bf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/standard/assembly/embed-types-visual-studio.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ The first step is to create the type equivalence interface assembly.
5858

5959
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.
6060

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**.
6262

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).
6464

6565
1. Open the *ISampleInterface* class file in the code editor, and replace its contents with the following code to create the `ISampleInterface` interface:
6666

@@ -123,11 +123,11 @@ Next, create the type equivalence runtime class.
123123

124124
1. In **Solution Explorer**, right-click the **TypeEquivalenceInterface** project and select **Properties**.
125125

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*.
127127

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**.
129129

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).
131131

132132
1. In **Solution Explorer**, right-click the **TypeEquivalenceRuntime** project and select **Add** > **Reference**.
133133

0 commit comments

Comments
 (0)