From 05f909679b2214c0f1be46d2175671f40293ca4f Mon Sep 17 00:00:00 2001 From: Melad Kamari Date: Wed, 14 Feb 2024 20:51:13 +0330 Subject: [PATCH] Upgrade BankAccount And Adventure Sample Project (#6582) * :art: Upgrade to .net8 and add Directory.Build.props, Directory.Packages.props for manage globally pakcages and framework version * :art: Upgrade BankAccount to .net8 and add Directory.Build.props, Directory.Packages.props for manage globally Packages and framework version * :art: Upgrade Orleans.Client, Orleans.Sdk, Orleans.Server to Version 8.0.0 --- orleans/Adventure/Directory.Packages.props | 6 +++--- .../AccountTransfer.Grains.csproj | 13 ++++--------- .../AccountTransfer.Interfaces.csproj | 11 +++-------- orleans/BankAccount/BankAccount.sln | 2 ++ .../BankAccount/BankClient/BankClient.csproj | 17 ++++++----------- .../BankAccount/BankServer/BankServer.csproj | 19 +++++++------------ orleans/BankAccount/Directory.Build.props | 7 +++++++ orleans/BankAccount/Directory.Packages.props | 15 +++++++++++++++ 8 files changed, 47 insertions(+), 43 deletions(-) create mode 100644 orleans/BankAccount/Directory.Build.props create mode 100644 orleans/BankAccount/Directory.Packages.props diff --git a/orleans/Adventure/Directory.Packages.props b/orleans/Adventure/Directory.Packages.props index 050686a6b97..090fa293adb 100644 --- a/orleans/Adventure/Directory.Packages.props +++ b/orleans/Adventure/Directory.Packages.props @@ -7,8 +7,8 @@ - - - + + + diff --git a/orleans/BankAccount/AccountTransfer.Grains/AccountTransfer.Grains.csproj b/orleans/BankAccount/AccountTransfer.Grains/AccountTransfer.Grains.csproj index c03bf517ebf..665532f959c 100644 --- a/orleans/BankAccount/AccountTransfer.Grains/AccountTransfer.Grains.csproj +++ b/orleans/BankAccount/AccountTransfer.Grains/AccountTransfer.Grains.csproj @@ -1,14 +1,9 @@ - - net7.0 - enable - enable - - - + + - + - \ No newline at end of file + diff --git a/orleans/BankAccount/AccountTransfer.Interfaces/AccountTransfer.Interfaces.csproj b/orleans/BankAccount/AccountTransfer.Interfaces/AccountTransfer.Interfaces.csproj index 8f3145b3d4d..0590d7121d8 100644 --- a/orleans/BankAccount/AccountTransfer.Interfaces/AccountTransfer.Interfaces.csproj +++ b/orleans/BankAccount/AccountTransfer.Interfaces/AccountTransfer.Interfaces.csproj @@ -1,11 +1,6 @@ - - net7.0 - enable - enable - - - + + - \ No newline at end of file + diff --git a/orleans/BankAccount/BankAccount.sln b/orleans/BankAccount/BankAccount.sln index 60428d0aaa4..3d239415c80 100644 --- a/orleans/BankAccount/BankAccount.sln +++ b/orleans/BankAccount/BankAccount.sln @@ -14,6 +14,8 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3C202E56-5082-4C00-9438-E0DFAAEC9326}" ProjectSection(SolutionItems) = preProject README.md = README.md + Directory.Build.props = Directory.Build.props + Directory.Packages.props = Directory.Packages.props EndProjectSection EndProject Global diff --git a/orleans/BankAccount/BankClient/BankClient.csproj b/orleans/BankAccount/BankClient/BankClient.csproj index 1ea755f5374..b0b64843afb 100644 --- a/orleans/BankAccount/BankClient/BankClient.csproj +++ b/orleans/BankAccount/BankClient/BankClient.csproj @@ -1,19 +1,14 @@ Exe - net7.0 - enable - enable - - - - - + + + + - - + - \ No newline at end of file + diff --git a/orleans/BankAccount/BankServer/BankServer.csproj b/orleans/BankAccount/BankServer/BankServer.csproj index a27f96ab173..4619daefdd3 100644 --- a/orleans/BankAccount/BankServer/BankServer.csproj +++ b/orleans/BankAccount/BankServer/BankServer.csproj @@ -1,20 +1,15 @@ Exe - net7.0 - enable - enable - - - - - + + + + - - - + + - \ No newline at end of file + diff --git a/orleans/BankAccount/Directory.Build.props b/orleans/BankAccount/Directory.Build.props new file mode 100644 index 00000000000..24a05c5a791 --- /dev/null +++ b/orleans/BankAccount/Directory.Build.props @@ -0,0 +1,7 @@ + + + net8.0 + enable + enable + + diff --git a/orleans/BankAccount/Directory.Packages.props b/orleans/BankAccount/Directory.Packages.props new file mode 100644 index 00000000000..e6f12a8ff0a --- /dev/null +++ b/orleans/BankAccount/Directory.Packages.props @@ -0,0 +1,15 @@ + + + + true + + + + + + + + + + +