diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 2aa296b..1080e65 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -42,7 +42,12 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
-
+
+ - name: Setup .NET
+ uses: actions/setup-dotnet@v3
+ with:
+ dotnet-version: 7.0.x
+
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
diff --git a/Blog.Console/Blog.Console.csproj b/Blog.Console/Blog.Console.csproj
index 96dbe2e..7877cdb 100644
--- a/Blog.Console/Blog.Console.csproj
+++ b/Blog.Console/Blog.Console.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0
+ net7.0
enable
enable
@@ -21,10 +21,10 @@
-
-
-
-
+
+
+
+
diff --git a/Blog.Core/Blog.Core.csproj b/Blog.Core/Blog.Core.csproj
index 51fc15a..0d450b6 100644
--- a/Blog.Core/Blog.Core.csproj
+++ b/Blog.Core/Blog.Core.csproj
@@ -1,6 +1,6 @@
- net6.0
+ net7.0
diff --git a/Blog.Func/Blog.Func.csproj b/Blog.Func/Blog.Func.csproj
index 9fe95ad..7ebe6a7 100644
--- a/Blog.Func/Blog.Func.csproj
+++ b/Blog.Func/Blog.Func.csproj
@@ -1,18 +1,18 @@
- net6.0
+ net7.0
v4
<_FunctionsSkipCleanOutput>true
-
-
-
+
+
+
-
+
diff --git a/Blog.TimerFunction/Blog.TimerFunction.csproj b/Blog.TimerFunction/Blog.TimerFunction.csproj
index 9fe95ad..7ebe6a7 100644
--- a/Blog.TimerFunction/Blog.TimerFunction.csproj
+++ b/Blog.TimerFunction/Blog.TimerFunction.csproj
@@ -1,18 +1,18 @@
- net6.0
+ net7.0
v4
<_FunctionsSkipCleanOutput>true
-
-
-
+
+
+
-
+
diff --git a/Blog/Blog.csproj b/Blog/Blog.csproj
index bdac1a8..6b1f1a3 100644
--- a/Blog/Blog.csproj
+++ b/Blog/Blog.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net7.0
b6311e25-4d47-4f9f-9de2-ccc3883cee3a
/subscriptions/aa403fbf-410c-4158-9746-9c5f82cfa2dc/resourceGroups/Blog/providers/microsoft.insights/components/static1701
@@ -9,11 +9,11 @@
-
-
-
+
+
+
-
+
diff --git a/ImpSoft.OctopusEnergy.Api.Tests/ImpSoft.OctopusEnergy.Api.Tests.csproj b/ImpSoft.OctopusEnergy.Api.Tests/ImpSoft.OctopusEnergy.Api.Tests.csproj
index 9623099..bffc6bf 100644
--- a/ImpSoft.OctopusEnergy.Api.Tests/ImpSoft.OctopusEnergy.Api.Tests.csproj
+++ b/ImpSoft.OctopusEnergy.Api.Tests/ImpSoft.OctopusEnergy.Api.Tests.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net7.0
diff --git a/ImpSoft.OctopusEnergy.Api/ImpSoft.OctopusEnergy.Api.csproj b/ImpSoft.OctopusEnergy.Api/ImpSoft.OctopusEnergy.Api.csproj
index d08575e..a755e1d 100644
--- a/ImpSoft.OctopusEnergy.Api/ImpSoft.OctopusEnergy.Api.csproj
+++ b/ImpSoft.OctopusEnergy.Api/ImpSoft.OctopusEnergy.Api.csproj
@@ -24,7 +24,7 @@
-
+
diff --git a/lhc.yml b/lhc.yml
index 7bc0d33..14a82f7 100644
--- a/lhc.yml
+++ b/lhc.yml
@@ -23,6 +23,12 @@ steps:
projectName: 'Blogv2'
projectVersion: '$(Build.BuildId)'
+- task: UseDotNet@2
+ inputs:
+ packageType: 'sdk'
+ version: '7.x'
+ includePreviewVersions: true
+
- task: DotNetCoreCLI@2
inputs:
command: 'restore'