Skip to content

Commit db60d3f

Browse files
authored
Merge pull request #6071 from surlydev/patch-1
missing from menu option
2 parents 6fd1097 + 3527165 commit db60d3f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/get-started/tutorial-projects-solutions.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ Let's add a unit test project to our solution. This time we'll start from a proj
193193

194194
We're going to use the new unit test project to test our method in the **QuickDate** project, so we need to add a reference to that project. This creates a *build dependency* between the two projects, meaning that when you build the solution, **QuickDate** is built before **QuickTest**.
195195

196+
::: moniker range="vs-2017"
197+
196198
1. Choose the **Dependencies** node in the **QuickTest** project, and from the right-click or context menu, choose **Add Reference**.
197199

198200
The **Reference Manager** dialog box opens.
@@ -203,6 +205,22 @@ We're going to use the new unit test project to test our method in the **QuickDa
203205

204206
![Visual Studio 2019 Solution Explorer showing project reference](media/vs-2019/tutorial-projects-solution-explorer-reference.png "Solution Explorer showing a project reference in Visual Studio.")
205207

208+
::: moniker-end
209+
210+
::: moniker range="vs-2019"
211+
212+
1. Choose the **Dependencies** node in the **QuickTest** project, and from the right-click or context menu, choose **Add Project Reference...**.
213+
214+
The **Reference Manager** dialog box opens.
215+
216+
1. In the left pane, expand **Projects** and choose **Solution**. In the middle pane, choose the checkbox next to **QuickDate**, and then choose **OK**.
217+
218+
A reference to the **QuickDate** project is added.
219+
220+
![Visual Studio 2019 Solution Explorer showing project reference](media/vs-2019/tutorial-projects-solution-explorer-reference.png)
221+
222+
::: moniker-end
223+
206224
## Add test code
207225

208226
1. Now we'll add test code to the C# test code file. Replace the contents of *UnitTest1.cs* with the following code:

0 commit comments

Comments
 (0)