From 9d11fe586297a0063f676b3d9806770cbe5035b7 Mon Sep 17 00:00:00 2001 From: Bob Langley Date: Fri, 23 Oct 2026 08:06:01 -0700 Subject: [PATCH] Allow tutorial platform tools to use newer .NET patches --- tutorials/message-replay/Solution/PlatformTools/Program.cs | 5 ++++- tutorials/quickstart/Solution/PlatformLauncher/Program.cs | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/tutorials/message-replay/Solution/PlatformTools/Program.cs b/tutorials/message-replay/Solution/PlatformTools/Program.cs index b4de1ee9139..f7205646388 100644 --- a/tutorials/message-replay/Solution/PlatformTools/Program.cs +++ b/tutorials/message-replay/Solution/PlatformTools/Program.cs @@ -1,3 +1,6 @@ // Launch the Particular Service Platform tools -await Particular.PlatformLauncher.Launch(); \ No newline at end of file +// Allow the platform tools to use a newer installed .NET patch release. +Environment.SetEnvironmentVariable("DOTNET_ROLL_FORWARD", "LatestPatch"); + +await Particular.PlatformLauncher.Launch(); diff --git a/tutorials/quickstart/Solution/PlatformLauncher/Program.cs b/tutorials/quickstart/Solution/PlatformLauncher/Program.cs index c6e2def9bdd..ffbc025fb86 100644 --- a/tutorials/quickstart/Solution/PlatformLauncher/Program.cs +++ b/tutorials/quickstart/Solution/PlatformLauncher/Program.cs @@ -1,8 +1,12 @@ #region PlatformMain Console.Title = "Platform Launcher"; + +// Allow the platform tools to use a newer installed .NET patch release. +Environment.SetEnvironmentVariable("DOTNET_ROLL_FORWARD", "LatestPatch"); + // The Particular Service Platform tools are disabled initially. // To enable them, uncomment the line below: //await Particular.PlatformLauncher.Launch(); -#endregion \ No newline at end of file +#endregion