diff --git a/orleans/Presence/Directory.Build.props b/orleans/Presence/Directory.Build.props new file mode 100644 index 00000000000..24a05c5a791 --- /dev/null +++ b/orleans/Presence/Directory.Build.props @@ -0,0 +1,7 @@ + + + net8.0 + enable + enable + + diff --git a/orleans/Presence/Presence.sln b/orleans/Presence/Presence.sln index b1e4a88eef3..d716413ca60 100644 --- a/orleans/Presence/Presence.sln +++ b/orleans/Presence/Presence.sln @@ -15,6 +15,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LoadGenerator", "src\LoadGe EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{C89D2AC3-5081-477A-AD11-8FE2E4AEF1E1}" ProjectSection(SolutionItems) = preProject + Directory.Build.props = Directory.Build.props README.md = README.md EndProjectSection EndProject diff --git a/orleans/Presence/README.md b/orleans/Presence/README.md index 7256e67e310..4074b5ea771 100644 --- a/orleans/Presence/README.md +++ b/orleans/Presence/README.md @@ -18,7 +18,7 @@ This sample demonstrates a gaming presence service in which a game server (repre ## Sample prerequisites -This sample is written in C# and targets .NET 7.0. It requires the [.NET 7.0 SDK](https://dotnet.microsoft.com/download/dotnet/7.0) or later. +This sample is written in C# and targets .NET 8.0. It requires the [.NET 8.0 SDK](https://dotnet.microsoft.com/download/dotnet/8.0) or later. ## Building the sample diff --git a/orleans/Presence/src/Grains.Interfaces/Grains.Interfaces.csproj b/orleans/Presence/src/Grains.Interfaces/Grains.Interfaces.csproj index 52089b9e644..5fa12bb20e7 100644 --- a/orleans/Presence/src/Grains.Interfaces/Grains.Interfaces.csproj +++ b/orleans/Presence/src/Grains.Interfaces/Grains.Interfaces.csproj @@ -1,13 +1,7 @@  - - - net7.0 - enable - enable - - + - + diff --git a/orleans/Presence/src/Grains/Grains.csproj b/orleans/Presence/src/Grains/Grains.csproj index 116218205aa..0015df18ff0 100644 --- a/orleans/Presence/src/Grains/Grains.csproj +++ b/orleans/Presence/src/Grains/Grains.csproj @@ -1,14 +1,8 @@  - - net7.0 - enable - enable - - - - + + diff --git a/orleans/Presence/src/LoadGenerator/LoadGenerator.csproj b/orleans/Presence/src/LoadGenerator/LoadGenerator.csproj index 69d2e97d94b..bb91bb0120b 100644 --- a/orleans/Presence/src/LoadGenerator/LoadGenerator.csproj +++ b/orleans/Presence/src/LoadGenerator/LoadGenerator.csproj @@ -2,15 +2,12 @@ Exe - net7.0 - enable - enable - - - + + + diff --git a/orleans/Presence/src/PlayerWatcher/PlayerWatcher.csproj b/orleans/Presence/src/PlayerWatcher/PlayerWatcher.csproj index 69d2e97d94b..bb91bb0120b 100644 --- a/orleans/Presence/src/PlayerWatcher/PlayerWatcher.csproj +++ b/orleans/Presence/src/PlayerWatcher/PlayerWatcher.csproj @@ -2,15 +2,12 @@ Exe - net7.0 - enable - enable - - - + + + diff --git a/orleans/Presence/src/PresenceService/PresenceService.csproj b/orleans/Presence/src/PresenceService/PresenceService.csproj index f31f494688b..866b5582bf1 100644 --- a/orleans/Presence/src/PresenceService/PresenceService.csproj +++ b/orleans/Presence/src/PresenceService/PresenceService.csproj @@ -2,17 +2,14 @@ Exe - net7.0 - enable - enable true true - - - + + +