diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index c36919b35..0b861e2c7 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -23,11 +23,11 @@ jobs: 7.0.100 - name: Build Windows binaries run: | - dotnet publish libMBIN-DLL -c Release -f net6.0-windows -r win-x64 -o Build/Release/net6/ /nowarn:cs0618 - dotnet publish MBINCompiler -c Release -f net6.0-windows -r win-x64 -o Build/Release/net6/ /nowarn:cs0618 - dotnet publish SaveFileMapping -c Release -f net6.0-windows -r win-x64 -o Build/Release/net6/ /nowarn:cs0618 - dotnet publish libMBIN-DLL -c Release -f net7.0-windows -r win-x64 -o Build/Release/net7/ /nowarn:cs0618 - dotnet publish MBINCompiler -c Release -f net7.0-windows -r win-x64 -o Build/Release/net7/ /nowarn:cs0618 + dotnet publish libMBIN-DLL -c Release -f net6.0 -r win-x64 -o Build/Release/net6/ /nowarn:cs0618 + dotnet publish MBINCompiler -c Release -f net6.0 -r win-x64 -o Build/Release/net6/ /nowarn:cs0618 + dotnet publish SaveFileMapping -c Release -f net6.0 -r win-x64 -o Build/Release/net6/ /nowarn:cs0618 + dotnet publish libMBIN-DLL -c Release -f net7.0 -r win-x64 -o Build/Release/net7/ /nowarn:cs0618 + dotnet publish MBINCompiler -c Release -f net7.0 -r win-x64 -o Build/Release/net7/ /nowarn:cs0618 - name: Move the exe so the tests can find it easier run: | cp Build/Release/net6/MBINCompiler.exe MBINCompiler.exe diff --git a/MBINCompiler/MBINCompiler.csproj b/MBINCompiler/MBINCompiler.csproj index f19ab3bd1..666a0daf9 100644 --- a/MBINCompiler/MBINCompiler.csproj +++ b/MBINCompiler/MBINCompiler.csproj @@ -1,11 +1,11 @@  Exe - net6.0-windows;net7.0-windows + net6.0;net7.0 false false true - win-x64 + linux-x64;win-x64 true Debug;Release AnyCPU;x64 @@ -20,7 +20,7 @@ false ..\Build\Debug\ TRACE;DEBUG;ENABLE_THREADS - win-x64 + linux-x64;win-x64 true @@ -29,7 +29,7 @@ false ..\Build\Debug\ TRACE;DEBUG;ENABLE_THREADS - win-x64 + linux-x64;win-x64 true @@ -37,7 +37,7 @@ true ..\Build\Release\ TRACE - win-x64 + linux-x64;win-x64 x64 @@ -45,7 +45,7 @@ true ..\Build\Release\ TRACE - win-x64 + linux-x64;win-x64 x64 @@ -61,7 +61,7 @@ - + diff --git a/MBINCompilerDocs/MBINCompilerDocs.csproj b/MBINCompilerDocs/MBINCompilerDocs.csproj index 6b7d7eb47..3d55f3a2f 100644 --- a/MBINCompilerDocs/MBINCompilerDocs.csproj +++ b/MBINCompilerDocs/MBINCompilerDocs.csproj @@ -1,11 +1,11 @@  Exe - net6.0-windows;net7.0-windows + net6.0;net7.0 false false true - win-x64;linux-x64 + linux-x64;win-x64 true Release AnyCPU;x64 @@ -19,7 +19,7 @@ true ..\Build\Release\ TRACE - win-x64 + linux-x64;win-x64 x64 @@ -27,9 +27,10 @@ true ..\Build\Release\ TRACE - win-x64 + linux-x64;win-x64 x64 + @@ -46,7 +47,7 @@ - + diff --git a/MBINCompilerTests/MBINCompilerTests.csproj b/MBINCompilerTests/MBINCompilerTests.csproj index 900bcb106..decbb117a 100644 --- a/MBINCompilerTests/MBINCompilerTests.csproj +++ b/MBINCompilerTests/MBINCompilerTests.csproj @@ -1,10 +1,10 @@  - net6.0-windows;net7.0-windows + net6.0;net7.0 false false true - win-x64;linux-x64 + linux-x64;win-x64 true Debug;Release AnyCPU;x64 @@ -38,6 +38,7 @@ bin\Release\ TRACE + diff --git a/SaveFileMapping/SaveFileMapping.csproj b/SaveFileMapping/SaveFileMapping.csproj index 6f331153c..9557c8adf 100644 --- a/SaveFileMapping/SaveFileMapping.csproj +++ b/SaveFileMapping/SaveFileMapping.csproj @@ -2,11 +2,11 @@ Exe - net6.0-windows;net7.0-windows + net6.0;net7.0 false false true - win-x64;linux-x64 + linux-x64;win-x64 true Release AnyCPU;x64 @@ -20,7 +20,7 @@ true ..\Build\Release\ TRACE - win-x64 + linux-x64;win-x64 x64 @@ -28,7 +28,7 @@ true ..\Build\Release\ TRACE - win-x64 + linux-x64;win-x64 x64 diff --git a/build-net6.bat b/build-net6.bat index eb12c06c8..12cbd9319 100644 --- a/build-net6.bat +++ b/build-net6.bat @@ -1,2 +1,3 @@ -dotnet publish -c Release -f net6.0-windows -r win-x64 -o Build/Release/net6/ /nowarn:cs0618 +dotnet publish -c Release -f net6.0 -r linux-x64 -o Build/Release/net6/ /nowarn:cs0618 +dotnet publish -c Release -f net6.0 -r win-x64 -o Build/Release/net6/ /nowarn:cs0618 pause \ No newline at end of file diff --git a/build-net6.sh b/build-net6.sh new file mode 100755 index 000000000..484dff251 --- /dev/null +++ b/build-net6.sh @@ -0,0 +1,2 @@ +dotnet publish -c Release -f net6.0 --no-self-contained -r linux-x64 -o Build/Release/net6/ /nowarn:cs0618 +dotnet publish -c Release -f net6.0 --no-self-contained -r win-x64 -o Build/Release/net6/ /nowarn:cs0618 diff --git a/build-net7.bat b/build-net7.bat index a81585de9..bbc6c5be9 100644 --- a/build-net7.bat +++ b/build-net7.bat @@ -1,2 +1,3 @@ -dotnet publish -c Release -f net7.0-windows -r win-x64 -o Build/Release/net7/ /nowarn:cs0618 +dotnet publish -c Release -f net7.0 -r linux-x64 -o Build/Release/net7/ /nowarn:cs0618 +dotnet publish -c Release -f net7.0 -r win-x64 -o Build/Release/net7/ /nowarn:cs0618 pause \ No newline at end of file diff --git a/build-net7.sh b/build-net7.sh new file mode 100755 index 000000000..af6147c99 --- /dev/null +++ b/build-net7.sh @@ -0,0 +1,2 @@ +dotnet publish -c Release -f net7.0 --no-self-contained -r linux-x64 -o Build/Release/net7/ /nowarn:cs0618 +dotnet publish -c Release -f net7.0 --no-self-contained -r win-x64 -o Build/Release/net7/ /nowarn:cs0618 diff --git a/libMBIN-DLL/libMBIN-DLL.csproj b/libMBIN-DLL/libMBIN-DLL.csproj index 3007dd3d1..a5be686fc 100644 --- a/libMBIN-DLL/libMBIN-DLL.csproj +++ b/libMBIN-DLL/libMBIN-DLL.csproj @@ -4,7 +4,7 @@ libMBIN libMBIN false - net6.0-windows;net7.0-windows + net6.0;net7.0 false Release;Debug;Release-XML true @@ -72,6 +72,7 @@ AnyCPU MinimumRecommendedRules.ruleset + diff --git a/libMBIN/Source/NMS/GameComponents/GcIkConstraint.cs b/libMBIN/Source/NMS/GameComponents/GcIKConstraint.cs similarity index 100% rename from libMBIN/Source/NMS/GameComponents/GcIkConstraint.cs rename to libMBIN/Source/NMS/GameComponents/GcIKConstraint.cs diff --git a/libMBIN/Source/NMS/Toolkit/TkIDArray.cs b/libMBIN/Source/NMS/Toolkit/TkIdArray.cs similarity index 100% rename from libMBIN/Source/NMS/Toolkit/TkIDArray.cs rename to libMBIN/Source/NMS/Toolkit/TkIdArray.cs