diff --git a/.github/workflows/test_and_build.yml b/.github/workflows/test_and_build.yml index 41720b7a..401545b6 100644 --- a/.github/workflows/test_and_build.yml +++ b/.github/workflows/test_and_build.yml @@ -36,7 +36,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 7.0 + dotnet-version: 8.0 - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -189,7 +189,7 @@ jobs: - name: prepare package structure run: mkdir -p packagebuild/addons/counterstrikesharp/plugins/PugSharp - name: copy package content - run: cp -rf PugSharp/bin/Debug/net7.0/publish/* packagebuild/addons/counterstrikesharp/plugins/PugSharp + run: cp -rf PugSharp/bin/Release/net8.0/publish/* packagebuild/addons/counterstrikesharp/plugins/PugSharp - name: copy sample configs run: cp -rf resources/cfg packagebuild/cfg - name: build package @@ -277,7 +277,7 @@ jobs: run: mkdir -p packagebuild/addons/counterstrikesharp/plugins/PugSharp shell: bash - name: copy package content - run: cp -rf PugSharp/bin/Debug/net7.0/publish/* packagebuild/addons/counterstrikesharp/plugins/PugSharp + run: cp -rf PugSharp/bin/Release/net8.0/publish/* packagebuild/addons/counterstrikesharp/plugins/PugSharp shell: bash - name: copy sample configs run: cp -rf resources/cfg packagebuild/cfg diff --git a/PugSharp.Api.Contract/PugSharp.Api.Contract.csproj b/PugSharp.Api.Contract/PugSharp.Api.Contract.csproj index 80ec2085..49a33570 100644 --- a/PugSharp.Api.Contract/PugSharp.Api.Contract.csproj +++ b/PugSharp.Api.Contract/PugSharp.Api.Contract.csproj @@ -1,14 +1,14 @@  - net7.0 + net8.0 enable enable - - - - + + + + diff --git a/PugSharp.Api.G5Api.Tests/PugSharp.Api.G5Api.Tests.csproj b/PugSharp.Api.G5Api.Tests/PugSharp.Api.G5Api.Tests.csproj index 15dedb0a..d8a1633d 100644 --- a/PugSharp.Api.G5Api.Tests/PugSharp.Api.G5Api.Tests.csproj +++ b/PugSharp.Api.G5Api.Tests/PugSharp.Api.G5Api.Tests.csproj @@ -1,6 +1,6 @@  - net7.0 + net8.0 enable enable false @@ -10,7 +10,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/PugSharp.Api.G5Api/PugSharp.Api.G5Api.csproj b/PugSharp.Api.G5Api/PugSharp.Api.G5Api.csproj index dfcdb3f1..9c3160f1 100644 --- a/PugSharp.Api.G5Api/PugSharp.Api.G5Api.csproj +++ b/PugSharp.Api.G5Api/PugSharp.Api.G5Api.csproj @@ -1,13 +1,13 @@  - net7.0 + net8.0 enable enable - - + + diff --git a/PugSharp.Api.Json/PugSharp.Api.Json.csproj b/PugSharp.Api.Json/PugSharp.Api.Json.csproj index d68bb675..14bf47ef 100644 --- a/PugSharp.Api.Json/PugSharp.Api.Json.csproj +++ b/PugSharp.Api.Json/PugSharp.Api.Json.csproj @@ -1,14 +1,14 @@  - net7.0 + net8.0 enable enable - - - + + + diff --git a/PugSharp.ApiStats/PugSharp.ApiStats.csproj b/PugSharp.ApiStats/PugSharp.ApiStats.csproj index bce4ba35..b9f40282 100644 --- a/PugSharp.ApiStats/PugSharp.ApiStats.csproj +++ b/PugSharp.ApiStats/PugSharp.ApiStats.csproj @@ -1,6 +1,6 @@  - net7.0 + net8.0 enable enable @@ -11,9 +11,9 @@ - - - - + + + + \ No newline at end of file diff --git a/PugSharp.Config/PugSharp.Config.csproj b/PugSharp.Config/PugSharp.Config.csproj index 5f037928..68965245 100644 --- a/PugSharp.Config/PugSharp.Config.csproj +++ b/PugSharp.Config/PugSharp.Config.csproj @@ -1,15 +1,15 @@  - net7.0 + net8.0 enable enable - - - - + + + + diff --git a/PugSharp.DebugDummy/PugSharp.DebugDummy.csproj b/PugSharp.DebugDummy/PugSharp.DebugDummy.csproj index 0e7429c8..61780a8b 100644 --- a/PugSharp.DebugDummy/PugSharp.DebugDummy.csproj +++ b/PugSharp.DebugDummy/PugSharp.DebugDummy.csproj @@ -1,7 +1,7 @@  Exe - net7.0 + net8.0 enable enable @@ -11,8 +11,8 @@ - - + + diff --git a/PugSharp.Match.Contract/PugSharp.Match.Contract.csproj b/PugSharp.Match.Contract/PugSharp.Match.Contract.csproj index 10308871..37832c6c 100644 --- a/PugSharp.Match.Contract/PugSharp.Match.Contract.csproj +++ b/PugSharp.Match.Contract/PugSharp.Match.Contract.csproj @@ -1,15 +1,15 @@ - net7.0 + net8.0 enable enable - - - - + + + + diff --git a/PugSharp.Match.Tests/PugSharp.Match.Tests.csproj b/PugSharp.Match.Tests/PugSharp.Match.Tests.csproj index 93924078..bfc5309a 100644 --- a/PugSharp.Match.Tests/PugSharp.Match.Tests.csproj +++ b/PugSharp.Match.Tests/PugSharp.Match.Tests.csproj @@ -1,6 +1,6 @@  - net7.0 + net8.0 enable enable false @@ -8,8 +8,8 @@ - - + + diff --git a/PugSharp.Match/PugSharp.Match.csproj b/PugSharp.Match/PugSharp.Match.csproj index 48c6f7d2..dd5764e3 100644 --- a/PugSharp.Match/PugSharp.Match.csproj +++ b/PugSharp.Match/PugSharp.Match.csproj @@ -1,14 +1,14 @@  - net7.0 + net8.0 enable enable - - - + + + diff --git a/PugSharp.Server.Contract/PugSharp.Server.Contract.csproj b/PugSharp.Server.Contract/PugSharp.Server.Contract.csproj index ebe1389a..90426394 100644 --- a/PugSharp.Server.Contract/PugSharp.Server.Contract.csproj +++ b/PugSharp.Server.Contract/PugSharp.Server.Contract.csproj @@ -1,14 +1,14 @@  - net7.0 + net8.0 enable enable - - - + + + diff --git a/PugSharp.Shared/PugSharp.Shared.csproj b/PugSharp.Shared/PugSharp.Shared.csproj index 9809bf33..dc3a9be1 100644 --- a/PugSharp.Shared/PugSharp.Shared.csproj +++ b/PugSharp.Shared/PugSharp.Shared.csproj @@ -1,15 +1,15 @@  - net7.0 + net8.0 enable enable - - - + + + diff --git a/PugSharp.Translation/PugSharp.Translation.csproj b/PugSharp.Translation/PugSharp.Translation.csproj index 2ab6eb7e..a86ee511 100644 --- a/PugSharp.Translation/PugSharp.Translation.csproj +++ b/PugSharp.Translation/PugSharp.Translation.csproj @@ -1,15 +1,15 @@  - net7.0 + net8.0 enable enable en - - - + + + diff --git a/PugSharp.sln b/PugSharp.sln index 50c778a7..c90f9110 100644 --- a/PugSharp.sln +++ b/PugSharp.sln @@ -39,6 +39,17 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PugSharp.Shared", "PugSharp EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PugSharp.Api.G5Api.Tests", "PugSharp.Api.G5Api.Tests\PugSharp.Api.G5Api.Tests.csproj", "{32CFE830-AF15-497C-806F-EE31F64D8F04}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{4026B00D-BC5D-4F42-B369-1703C8D7460A}" + ProjectSection(SolutionItems) = preProject + .github\dependabot.yml = .github\dependabot.yml + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{600860EC-2A30-46DC-A197-B6709A158169}" + ProjectSection(SolutionItems) = preProject + .github\workflows\test_and_build.yml = .github\workflows\test_and_build.yml + .github\workflows\website_build.yml = .github\workflows\website_build.yml + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -105,6 +116,9 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {600860EC-2A30-46DC-A197-B6709A158169} = {4026B00D-BC5D-4F42-B369-1703C8D7460A} + EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {AD40617F-6B33-45B4-AF4D-1D5D0EA8F958} EndGlobalSection diff --git a/PugSharp/PugSharp.cs b/PugSharp/PugSharp.cs index 40c577f3..58f9421a 100644 --- a/PugSharp/PugSharp.cs +++ b/PugSharp/PugSharp.cs @@ -48,7 +48,7 @@ public override void Load(bool hotReload) services.AddLogging(options => { - //options.AddConsole(); + options.AddConsole(); }); var serviceDescriptor = services.FirstOrDefault(descriptor => descriptor.ServiceType == typeof(ILoggerFactory)); diff --git a/PugSharp/PugSharp.csproj b/PugSharp/PugSharp.csproj index 6da01eb4..2a758803 100644 --- a/PugSharp/PugSharp.csproj +++ b/PugSharp/PugSharp.csproj @@ -1,20 +1,20 @@  - net7.0 + net8.0 enable enable - + none runtime compile; build; native; contentfiles; analyzers; buildtransitive - + - +