|
1 | 1 | --- |
2 | | -title: Consuming a class library with .NET Core in Visual Studio 2017 |
| 2 | +title: Consuming a .NET Standard library in Visual Studio 2017 |
3 | 3 | description: Learn how to call the members in a class library with Visual Studio 2017. |
4 | 4 | author: BillWagner |
5 | 5 | ms.author: wiwagn |
6 | | -ms.date: 08/07/2017 |
| 6 | +ms.date: 06/05/2018 |
7 | 7 | dev_langs: |
8 | 8 | - "csharp" |
9 | 9 | - "vb" |
10 | 10 | --- |
11 | 11 |
|
12 | | -# Consuming a class library with .NET Core in Visual Studio 2017 |
| 12 | +# Consuming a .NET Standard library in Visual Studio 2017 |
13 | 13 |
|
14 | | -Once you've created a class library by following the steps in [Building a C# class library with .NET Core in Visual Studio 2017](./library-with-visual-studio.md) or [Building a Visual Basic class library with .NET Core in Visual Studio 2017](vb-library-with-visual-studio.md), tested it in [Testing a class library with .NET Core in Visual Studio 2017](testing-library-with-visual-studio.md), and built a Release version of the library, the next step is to make it available to callers. You can do this in two ways: |
| 14 | +Once you've created a .NET Standard class library by following the steps in [Building a C# class library with .NET Core in Visual Studio 2017](./library-with-visual-studio.md) or [Building a Visual Basic class library with .NET Core in Visual Studio 2017](vb-library-with-visual-studio.md), tested it in [Testing a class library with .NET Core in Visual Studio 2017](testing-library-with-visual-studio.md), and built a Release version of the library, the next step is to make it available to callers. You can do this in two ways: |
15 | 15 |
|
16 | 16 | * If the library will be used by a single solution (for example, if it's a component in a single large application), you can include it as a project in your solution. |
17 | 17 |
|
@@ -44,7 +44,7 @@ Just as you included unit tests in the same solution as your class library, you |
44 | 44 |
|
45 | 45 | [!CODE-csharp[UsingClassLib#1](../../../samples/snippets/csharp/getting_started/with_visual_studio_2017/showcase.cs)] |
46 | 46 |
|
47 | | - The code uses the [Console.WindowHeight](xref:System.Console.WindowHeight) property to determine the number of rows in the console window. Whenever the [Console.CursorTop](xref:System.Console.CursorTop) property is greater than or equal to the number of rows in the console window, the code clears the console window and displays a message to the user. |
| 47 | + The code uses the `row` variable to maintain a count of the number of rows of data written to the console window. Whenever it is greater than or equal to 25, the code clears the console window and displays a message to the user. |
48 | 48 |
|
49 | 49 | The program prompts the user to enter a string. It indicates whether the string starts with an uppercase character. If the user presses the Enter key without entering a string, the application terminates, and the console window closes. |
50 | 50 |
|
@@ -74,7 +74,7 @@ Just as you included unit tests in the same solution as your class library, you |
74 | 74 |
|
75 | 75 | [!CODE-vb[UsingClassLib#1](../../../samples/snippets/core/tutorials/vb-library-with-visual-studio/showcase.vb)] |
76 | 76 |
|
77 | | - The code uses the [Console.WindowHeight](xref:System.Console.WindowHeight) property to determine the number of rows in the console window. Whenever the [Console.CursorTop](xref:System.Console.CursorTop) property is greater than or equal to the number of rows in the console window, the code clears the console window and displays a message to the user. |
| 77 | + The code uses the `row` variable to maintain a count of the number of rows of data written to the console window. Whenever it is greater than or equal to 25, the code clears the console window and displays a message to the user. |
78 | 78 |
|
79 | 79 | The program prompts the user to enter a string. It indicates whether the string starts with an uppercase character. If the user presses the Enter key without entering a string, the application terminates, and the console window closes. |
80 | 80 |
|
|
0 commit comments