diff --git a/README_DERIVATIVE.md b/README_DERIVATIVE.md index 35f61888..e94362f9 100644 --- a/README_DERIVATIVE.md +++ b/README_DERIVATIVE.md @@ -343,6 +343,17 @@ Only run these kinds of tests when the code in the technology adapters changes. `dotnet test --filter:"Category=Integration.External" src\SaaStack.sln` (requires internet access to external services) +# Upgrading .NET Version + +If you need to upgrade the version of .NET for this codebase, do the following: +1. Download the new version of the .NET SDK from this page: https://dotnet.microsoft.com/en-us/download/dotnet +2. Run the installer for your OS. This will add a new version to your local machine, but it will not change anything. +3. Make a note of the version of the runtime, and the SDK (they are different numbers) +4. In `Directory.Build.props`, change the value of the `` variable to the version of the runtime. +5. In `RuntimeConstants.cs` change the value of both `DotNet.RuntimeVersion`, `Dotnet.SdkVersion` and `DotNet.Version`. +6. (Optional) If necessary (i.e. moving from .NET 8 to .NET 9) then find and replace the `net8.0` attribute in every `*.csproj` file in the solution. +7. Rebuild the solution + # Versioning the Code > Note: We use the 2 dot [Semantic Versioning](https://semver.org/spec/v2.0.0.html) scheme. diff --git a/src/Application.Interfaces/Application.Interfaces.csproj b/src/Application.Interfaces/Application.Interfaces.csproj index f3f6d186..378b3a3a 100644 --- a/src/Application.Interfaces/Application.Interfaces.csproj +++ b/src/Application.Interfaces/Application.Interfaces.csproj @@ -10,7 +10,9 @@ - + + + diff --git a/src/Directory.Build.props b/src/Directory.Build.props index c67621b5..91829314 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -57,7 +57,7 @@ true $(NoWarn),1573,1574,1591,1712,1723,SAASDDD037 - 8.0.6 + 8.0.6 diff --git a/src/Infrastructure.Persistence.Common/Infrastructure.Persistence.Common.csproj b/src/Infrastructure.Persistence.Common/Infrastructure.Persistence.Common.csproj index 968e6ade..0ecb7c59 100644 --- a/src/Infrastructure.Persistence.Common/Infrastructure.Persistence.Common.csproj +++ b/src/Infrastructure.Persistence.Common/Infrastructure.Persistence.Common.csproj @@ -8,11 +8,11 @@ + -