Skip to content

Commit dc1b19a

Browse files
author
Ron Petrusha
authored
Modified title and example code in consuming a class library tutorial (#5817)
* Revised example, changed title * Changed metadata * Modified TOC title
1 parent 3618803 commit dc1b19a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/core/tutorials/consuming-library-with-visual-studio.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
2-
title: Consuming a class library with .NET Core in Visual Studio 2017
2+
title: Consuming a .NET Standard library in Visual Studio 2017
33
description: Learn how to call the members in a class library with Visual Studio 2017.
44
author: BillWagner
55
ms.author: wiwagn
6-
ms.date: 08/07/2017
6+
ms.date: 06/05/2018
77
dev_langs:
88
- "csharp"
99
- "vb"
1010
---
1111

12-
# Consuming a class library with .NET Core in Visual Studio 2017
12+
# Consuming a .NET Standard library in Visual Studio 2017
1313

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:
1515

1616
* 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.
1717

@@ -44,7 +44,7 @@ Just as you included unit tests in the same solution as your class library, you
4444

4545
[!CODE-csharp[UsingClassLib#1](../../../samples/snippets/csharp/getting_started/with_visual_studio_2017/showcase.cs)]
4646

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.
4848

4949
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.
5050

@@ -74,7 +74,7 @@ Just as you included unit tests in the same solution as your class library, you
7474

7575
[!CODE-vb[UsingClassLib#1](../../../samples/snippets/core/tutorials/vb-library-with-visual-studio/showcase.vb)]
7676

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.
7878

7979
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.
8080

docs/csharp/getting-started/toc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
### [Publishing your Hello World application with Visual Studio 2017](../../core/tutorials/publishing-with-visual-studio.md)
66
## [Building a class library with C# and .NET Core in Visual Studio 2017](../../core/tutorials/library-with-visual-studio.md)
77
### [Testing a class library with .NET Core in Visual Studio 2017](../../core/tutorials/testing-library-with-visual-studio.md)
8-
### [Consuming a class library with .NET Core in Visual Studio 2017](../../core/tutorials/consuming-library-with-visual-studio.md)
8+
### [Consuming a .NET Standard library in Visual Studio 2017](../../core/tutorials/consuming-library-with-visual-studio.md)
99
## [Getting started with C# and Visual Studio Code](../../core/tutorials/with-visual-studio-code.md)

0 commit comments

Comments
 (0)