From 4c749406fc47455bf54ac6de7aaaeb0e15f3fe96 Mon Sep 17 00:00:00 2001 From: MeFisto94 Date: Sun, 26 Nov 2023 12:34:17 +0100 Subject: [PATCH] Convert project to new sdk style --- .github/workflows/netfx.yml | 15 ++-- Andraste.Shared.csproj | 154 +++++++++++------------------------- Andraste.Shared.nuspec | 21 ----- packages.config | 13 --- 4 files changed, 54 insertions(+), 149 deletions(-) delete mode 100644 Andraste.Shared.nuspec delete mode 100644 packages.config diff --git a/.github/workflows/netfx.yml b/.github/workflows/netfx.yml index 024ba77..031b0d3 100644 --- a/.github/workflows/netfx.yml +++ b/.github/workflows/netfx.yml @@ -20,16 +20,17 @@ jobs: run: nuget restore Andraste.Shared/Andraste.Shared.csproj -PackagesDirectory packages - name: Build project - run: msbuild Andraste.Shared/Andraste.Shared.csproj /p:Configuration=Release - - - name: Build NuGet Package - run: nuget pack Andraste.Shared/Andraste.Shared.csproj -PackagesDirectory packages -Prop Configuration=Release + run: msbuild Andraste.Shared/Andraste.Shared.csproj /p:Configuration=Release /p:GeneratePackageOnBuild=true - name: Upload Artifact uses: actions/upload-artifact@v3 with: name: DLLs path: | - Andraste.Shared\bin\Release\Andraste.Shared.dll - Andraste.Shared\bin\Release\Andraste.Shared.pdb - Andraste.Shared.*.nupkg + Andraste.Shared\bin\Release\net48\Andraste.Shared.dll + Andraste.Shared\bin\Release\net48\Andraste.Shared.pdb + - name: Upload NuPkg + uses: actions/upload-artifact@v3 + with: + name: NuGet + path: Andraste.Shared\bin\Release\Andraste.Shared.*.nupkg diff --git a/Andraste.Shared.csproj b/Andraste.Shared.csproj index ba70c0e..c740563 100644 --- a/Andraste.Shared.csproj +++ b/Andraste.Shared.csproj @@ -1,111 +1,49 @@ - - - - - Debug - AnyCPU - Library - Properties - Andraste.Shared - Andraste.Shared - v4.8 - 512 - 8 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - true - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - true - - - - ..\packages\Microsoft.Bcl.AsyncInterfaces.7.0.0-preview.4.22229.4\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll - - - - - ..\packages\NLog.4.7.13\lib\net45\NLog.dll - True - - - - ..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll - - - ..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll - - - - ..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll - - - ..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll - - - ..\packages\System.Text.Encodings.Web.7.0.0-preview.4.22229.4\lib\net462\System.Text.Encodings.Web.dll - - - ..\packages\System.Text.Json.6.0.0\lib\net461\System.Text.Json.dll - - - ..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll - - - ..\packages\System.ValueTuple.4.5.0\lib\net47\System.ValueTuple.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - + - This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105.The missing file is {0}. + net48 + 8 + true + bin\$(Configuration)\ + Andraste Shared + MeFisto94 + Andraste.Shared + 0.1.4 + https://AndrasteFramework.github.io + + The shared functionality (Host and Payload) of Andraste. Mostly consisting of utility classes and interfaces + Copyright 2023 The AndrasteFramework Team + https://github.com/AndrasteFramework/Shared + README.md + git + Andraste ModdingFramework + false + MIT - - - - + + full + + + pdbonly + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Andraste.Shared.nuspec b/Andraste.Shared.nuspec deleted file mode 100644 index 3bfa778..0000000 --- a/Andraste.Shared.nuspec +++ /dev/null @@ -1,21 +0,0 @@ - - - - Andraste.Shared - 0.1.3 - Andraste Shared - MeFisto94 - false - MIT - - https://AndrasteFramework.github.io - The Shared (host and payload) library part of Andraste - Copyright 2023 - Andraste ModdingFramework - - README.md - - - - - \ No newline at end of file diff --git a/packages.config b/packages.config deleted file mode 100644 index 551fade..0000000 --- a/packages.config +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file