diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 00000000..432eb656
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,30 @@
+# This workflow will build a .NET project
+# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
+
+name: .NET
+
+on:
+ push:
+ branches: [ "main" ]
+ pull_request:
+ branches: [ "main" ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ env:
+ SOLUTION_NAME: Toolkit.Libraries.slnf
+ steps:
+ - uses: actions/checkout@v3
+ - name: Setup .NET
+ uses: actions/setup-dotnet@v3
+ with:
+ dotnet-version: 8.0.x
+ - name: Restore dependencies
+ run: dotnet restore $SOLUTION_NAME
+ - name: Build
+ run: dotnet build --no-restore $SOLUTION_NAME
+ - name: Test
+ run: dotnet test --no-build --verbosity normal $SOLUTION_NAME
diff --git a/RageLib.GTA5.UnitTests/ResourceWrappers/PC/Meta/MetaXmlExporterIntegrationTests.cs b/RageLib.GTA5.UnitTests/ResourceWrappers/PC/Meta/MetaXmlExporterIntegrationTests.cs
index f8601357..1f12a05e 100644
--- a/RageLib.GTA5.UnitTests/ResourceWrappers/PC/Meta/MetaXmlExporterIntegrationTests.cs
+++ b/RageLib.GTA5.UnitTests/ResourceWrappers/PC/Meta/MetaXmlExporterIntegrationTests.cs
@@ -2,6 +2,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RageLib.GTA5.ResourceWrappers.PC.Meta;
+using RageLib.Services;
using System;
using System.Globalization;
using System.IO;
@@ -21,7 +22,7 @@ public void Export_Always_CorrectlyExportsXml()
{
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
- var exporter = new MetaXmlExporter();
+ var exporter = new MetaXmlExporter(JenkinsDictionary.Shared);
var xmlStream = new MemoryStream();
var rootStructure = TestDataset.MakeDataset();
diff --git a/Toolkit.Libraries.slnf b/Toolkit.Libraries.slnf
new file mode 100644
index 00000000..caaf436b
--- /dev/null
+++ b/Toolkit.Libraries.slnf
@@ -0,0 +1,11 @@
+{
+ "solution": {
+ "path": "Toolkit.sln",
+ "projects": [
+ "RageLib.GTA4\\RageLib.GTA4.csproj",
+ "RageLib.GTA5\\RageLib.GTA5.csproj",
+ "RageLib.RDR2\\RageLib.RDR2.csproj",
+ "RageLib\\RageLib.csproj"
+ ]
+ }
+}
\ No newline at end of file
diff --git a/Tools/ArchiveTool/ArchiveTool.csproj b/Tools/ArchiveTool/ArchiveTool.csproj
index ab24ab81..250e3472 100755
--- a/Tools/ArchiveTool/ArchiveTool.csproj
+++ b/Tools/ArchiveTool/ArchiveTool.csproj
@@ -14,6 +14,7 @@
true
None
true
+ true
diff --git a/Tools/TextureTool/TextureTool.csproj b/Tools/TextureTool/TextureTool.csproj
index 370e5d3b..f66c420d 100755
--- a/Tools/TextureTool/TextureTool.csproj
+++ b/Tools/TextureTool/TextureTool.csproj
@@ -5,8 +5,9 @@
net8.0-windows
TextureTool
TextureTool
- true
- true
+ true
+ true
+ true