Skip to content

Commit 8975865

Browse files
committed
Update quickstart tutorials to use NSB 9
1 parent 711988e commit 8975865

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

tutorials/nservicebus-step-by-step/1-getting-started/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ Let's build something simple to give NServiceBus a try.
2323
This tutorial uses NServiceBus version 8, .NET 6, and assumes an up-to-date installation of [Visual Studio 2022](https://www.visualstudio.com/downloads/).
2424

2525
> [!NOTE]
26-
> NServiceBus 8 also [supports .NET Framework 4.7.2 or higher](/nservicebus/operations/dotnet-framework-version-requirements.md), but [new applications should be built on .NET 6 or higher](https://devblogs.microsoft.com/dotnet/net-core-is-the-future-of-net/).
26+
> NServiceBus 8 also [supports .NET Framework 4.7.2 or higher](/nservicebus/operations/dotnet-framework-version-requirements.md), but new applications should use NServiceBus 9 and [.NET 8 or higher](https://devblogs.microsoft.com/dotnet/net-core-is-the-future-of-net/).
2727
2828
### Create a solution
2929

3030
First, let's create a basic solution and include the dependencies we need.
3131

3232
1. In Visual Studio, create a new project and select the **Console App** project type.
33-
2. Select **.NET 6.0 (Long Term Support)** from the Framework dropdown.
33+
2. Select **.NET 8.0 (Long Term Support)** from the Framework dropdown.
3434
3. Set the project name to **ClientUI**.
3535
4. Set the solution name to **RetailDemo**.
3636

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net6.0</TargetFramework>
4-
<LangVersion>10.0</LangVersion>
3+
<TargetFramework>net8.0</TargetFramework>
4+
<LangVersion>12.0</LangVersion>
55
</PropertyGroup>
66
<ItemGroup>
7-
<PackageReference Include="NServiceBus" Version="8.*" />
8-
<PackageReference Include="NServiceBus.Extensions.Hosting" Version="2.*" />
9-
<PackageReference Include="NServiceBus.Heartbeat" Version="4.*" />
10-
<PackageReference Include="NServiceBus.Metrics.ServiceControl" Version="4.*" />
7+
<PackageReference Include="NServiceBus" Version="9.*" />
8+
<PackageReference Include="NServiceBus.Extensions.Hosting" Version="3.*" />
9+
<PackageReference Include="NServiceBus.Heartbeat" Version="5.*" />
10+
<PackageReference Include="NServiceBus.Metrics.ServiceControl" Version="5.*" />
1111
</ItemGroup>
1212
</Project>
File renamed without changes.
File renamed without changes.

tutorials/quickstart/Snippets/Snippets.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 16
44
VisualStudioVersion = 16.0.29728.190
55
MinimumVisualStudioVersion = 15.0.26730.12
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core_8", "Core_8\Core_8.csproj", "{10CE989A-8E4F-400C-8BBD-3935B9FEE695}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core_9", "Core_9\Core_9.csproj", "{10CE989A-8E4F-400C-8BBD-3935B9FEE695}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution

0 commit comments

Comments
 (0)