From e061725a99c4437cf09a909e480402e513ed53f3 Mon Sep 17 00:00:00 2001
From: Artemy <109195690+stalcker2288969@users.noreply.github.com>
Date: Tue, 1 Jul 2025 19:17:01 +0700
Subject: [PATCH] downcast to .net 8.x
---
Govor.API.Tests/Govor.API.Tests.csproj | 15 ++++++-----
Govor.API/Govor.API.csproj | 25 ++++++++-----------
Govor.Application/Govor.Application.csproj | 15 +++++------
.../Services/LocalStorageService.cs | 1 -
Govor.Console/Govor.Console.csproj | 12 ++++-----
Govor.Contracts/Govor.Contracts.csproj | 2 +-
Govor.Core/Govor.Core.csproj | 4 +--
Govor.Data/Govor.Data.csproj | 10 ++++----
global.json | 7 ++++++
9 files changed, 47 insertions(+), 44 deletions(-)
create mode 100644 global.json
diff --git a/Govor.API.Tests/Govor.API.Tests.csproj b/Govor.API.Tests/Govor.API.Tests.csproj
index 139f439..541926b 100644
--- a/Govor.API.Tests/Govor.API.Tests.csproj
+++ b/Govor.API.Tests/Govor.API.Tests.csproj
@@ -1,7 +1,7 @@
- net9.0
+ net8.0
latest
enable
enable
@@ -11,13 +11,12 @@
-
-
+
+
-
-
-
+
+
@@ -25,8 +24,8 @@
-
-
+
+
diff --git a/Govor.API/Govor.API.csproj b/Govor.API/Govor.API.csproj
index 71de3d2..b88211f 100644
--- a/Govor.API/Govor.API.csproj
+++ b/Govor.API/Govor.API.csproj
@@ -1,30 +1,27 @@
- net9.0
+ net8.0
disable
enable
-
-
-
-
- runtime; build; native; contentfiles; analyzers; buildtransitive
- all
-
-
+
+
+
+
-
-
-
+
+
+
-
-
+
+
+
diff --git a/Govor.Application/Govor.Application.csproj b/Govor.Application/Govor.Application.csproj
index 24f32c2..703ef94 100644
--- a/Govor.Application/Govor.Application.csproj
+++ b/Govor.Application/Govor.Application.csproj
@@ -1,21 +1,22 @@
- net9.0
+ net8.0
enable
enable
-
-
+
+
-
-
-
-
+
+
+
+
+
diff --git a/Govor.Application/Services/LocalStorageService.cs b/Govor.Application/Services/LocalStorageService.cs
index 2b7e1fc..4ac849b 100644
--- a/Govor.Application/Services/LocalStorageService.cs
+++ b/Govor.Application/Services/LocalStorageService.cs
@@ -1,5 +1,4 @@
using Govor.Application.Interfaces;
-using Microsoft.AspNetCore.Hosting;
namespace Govor.Application.Services;
public class LocalStorageService : IStorageService
diff --git a/Govor.Console/Govor.Console.csproj b/Govor.Console/Govor.Console.csproj
index 49d4e74..2725238 100644
--- a/Govor.Console/Govor.Console.csproj
+++ b/Govor.Console/Govor.Console.csproj
@@ -2,21 +2,21 @@
Exe
- net9.0
+ net8.0
13
enable
enable
-
-
-
+
+
-
-
+
+
+
diff --git a/Govor.Contracts/Govor.Contracts.csproj b/Govor.Contracts/Govor.Contracts.csproj
index 4f3150c..20e0a8f 100644
--- a/Govor.Contracts/Govor.Contracts.csproj
+++ b/Govor.Contracts/Govor.Contracts.csproj
@@ -1,7 +1,7 @@
- net9.0
+ net8.0
enable
enable
diff --git a/Govor.Core/Govor.Core.csproj b/Govor.Core/Govor.Core.csproj
index 1f027dd..eaa57c8 100644
--- a/Govor.Core/Govor.Core.csproj
+++ b/Govor.Core/Govor.Core.csproj
@@ -1,13 +1,13 @@
- net9.0
+ net8.0
enable
enable
-
+
diff --git a/Govor.Data/Govor.Data.csproj b/Govor.Data/Govor.Data.csproj
index 0b6f472..036ffa3 100644
--- a/Govor.Data/Govor.Data.csproj
+++ b/Govor.Data/Govor.Data.csproj
@@ -1,19 +1,19 @@
- net9.0
+ net8.0
enable
enable
-
-
-
+
+
+
-
+
diff --git a/global.json b/global.json
new file mode 100644
index 0000000..dad2db5
--- /dev/null
+++ b/global.json
@@ -0,0 +1,7 @@
+{
+ "sdk": {
+ "version": "8.0.0",
+ "rollForward": "latestMajor",
+ "allowPrerelease": true
+ }
+}
\ No newline at end of file