Skip to content

Commit f22c6c3

Browse files
authored
Change References to .NET 9 SDK (#43770)
Includes hyperlink to .NET 9 SDK download page
1 parent c620026 commit f22c6c3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ zone_pivot_groups: dotnet-version
1010

1111
In this tutorial, you create a simple utility library that contains a single string-handling method.
1212

13-
A *class library* defines types and methods that are called by an application. If the library targets .NET Standard 2.0, it can be called by any .NET implementation (including .NET Framework) that supports .NET Standard 2.0. If the library targets .NET 8, it can be called by any application that targets .NET 8. This tutorial shows how to target .NET 8.
13+
A *class library* defines types and methods that are called by an application. If the library targets .NET Standard 2.0, it can be called by any .NET implementation (including .NET Framework) that supports .NET Standard 2.0. If the library targets .NET 9, it can be called by any application that targets .NET 9. This tutorial shows how to target .NET 9.
1414

1515
When you create a class library, you can distribute it as a third-party component or as a bundled component with one or more applications.
1616

@@ -20,7 +20,7 @@ When you create a class library, you can distribute it as a third-party componen
2020

2121
For information about how to install extensions on Visual Studio Code, see [VS Code Extension Marketplace](https://code.visualstudio.com/docs/editor/extension-gallery).
2222

23-
* The [.NET 8 SDK](https://dotnet.microsoft.com/download/dotnet/8.0).
23+
* The [.NET 9 SDK](https://dotnet.microsoft.com/download/dotnet/9.0).
2424

2525
## Create a class library project
2626

@@ -36,21 +36,21 @@ Start by creating a .NET class library project named "StringLibrary" and an asso
3636

3737
1. Then select the location where you would like the new project to be created: Create a folder named `ClassLibraryProjects` and select it.
3838

39-
1. Name the project **StringLibrary**, select **Show all template options**, select **.NET 8** and select **Create Project**.
39+
1. Name the project **StringLibrary**, select **Show all template options**, select **.NET 9** and select **Create Project**.
4040

4141
1. Name the project **StringLibrary** and select **Create Project**.
4242

4343
1. Press Enter at the prompt **Project will be created in \<path>**.
4444

45-
1. Check to make sure that the library targets .NET 8. In **Explorer**, open *StringLibrary/StringLibrary.csproj*.
45+
1. Check to make sure that the library targets .NET 9. In **Explorer**, open *StringLibrary/StringLibrary.csproj*.
4646

47-
The `TargetFramework` element shows that the project targets .NET 8.0.
47+
The `TargetFramework` element shows that the project targets .NET 9.0.
4848

4949
```xml
5050
<Project Sdk="Microsoft.NET.Sdk">
5151

5252
<PropertyGroup>
53-
<TargetFramework>net8.0</TargetFramework>
53+
<TargetFramework>net9.0</TargetFramework>
5454
</PropertyGroup>
5555

5656
</Project>
@@ -77,7 +77,7 @@ Start by creating a .NET class library project named "StringLibrary" and an asso
7777
Copyright (C) Microsoft Corporation. All rights reserved.
7878
Determining projects to restore...
7979
All projects are up-to-date for restore.
80-
StringLibrary -> C:\Projects\ClassLibraryProjects\StringLibrary\bin\Debug\net8.0\StringLibrary.dll
80+
StringLibrary -> C:\Projects\ClassLibraryProjects\StringLibrary\bin\Debug\net9.0\StringLibrary.dll
8181
Build succeeded.
8282
0 Warning(s)
8383
0 Error(s)

0 commit comments

Comments
 (0)