diff --git a/BepInEx.IL2CPP.MSBuild.Runner/BepInEx.IL2CPP.MSBuild.Runner.csproj b/BepInEx.IL2CPP.MSBuild.Runner/BepInEx.IL2CPP.MSBuild.Runner.csproj
index ff102c9..618ba94 100644
--- a/BepInEx.IL2CPP.MSBuild.Runner/BepInEx.IL2CPP.MSBuild.Runner.csproj
+++ b/BepInEx.IL2CPP.MSBuild.Runner/BepInEx.IL2CPP.MSBuild.Runner.csproj
@@ -4,8 +4,8 @@
-
-
+
+
diff --git a/BepInEx.IL2CPP.MSBuild.Runner/Il2CppInteropManager.cs b/BepInEx.IL2CPP.MSBuild.Runner/Il2CppInteropManager.cs
index 90c18bd..2f8d100 100644
--- a/BepInEx.IL2CPP.MSBuild.Runner/Il2CppInteropManager.cs
+++ b/BepInEx.IL2CPP.MSBuild.Runner/Il2CppInteropManager.cs
@@ -5,6 +5,7 @@
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
+using AsmResolver.DotNet;
using BepInEx.IL2CPP.MSBuild.Shared;
using Il2CppInterop.Common;
using Il2CppInterop.Generator;
@@ -12,7 +13,6 @@
using Il2CppInterop.Generator.Runners;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
-using Mono.Cecil;
using Task = System.Threading.Tasks.Task;
namespace BepInEx.IL2CPP.MSBuild.Runner
@@ -51,7 +51,7 @@ public async Task GenerateAsync(GameLibsPackage gameLibsPackage, string
private async Task RunIl2CppInteropGenerator(GameLibsPackage gameLibsPackage, string outputDirectory)
{
var sourceFiles = Directory.GetFiles(gameLibsPackage.DummyDirectory, "*.dll");
- using var source = new CecilMetadataAccess(sourceFiles);
+ using var source = new AssemblyMetadataAccess(sourceFiles);
Il2CppInteropGenerator.Create(new GeneratorOptions
{
Source = (List)source.Assemblies,
diff --git a/BepInEx.IL2CPP.MSBuild.Shared/BepInEx.IL2CPP.MSBuild.Shared.csproj b/BepInEx.IL2CPP.MSBuild.Shared/BepInEx.IL2CPP.MSBuild.Shared.csproj
index 7797279..99fd793 100644
--- a/BepInEx.IL2CPP.MSBuild.Shared/BepInEx.IL2CPP.MSBuild.Shared.csproj
+++ b/BepInEx.IL2CPP.MSBuild.Shared/BepInEx.IL2CPP.MSBuild.Shared.csproj
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/BepInEx.IL2CPP.MSBuild/BepInEx.IL2CPP.MSBuild.csproj b/BepInEx.IL2CPP.MSBuild/BepInEx.IL2CPP.MSBuild.csproj
index 079bd5e..29215b2 100644
--- a/BepInEx.IL2CPP.MSBuild/BepInEx.IL2CPP.MSBuild.csproj
+++ b/BepInEx.IL2CPP.MSBuild/BepInEx.IL2CPP.MSBuild.csproj
@@ -17,7 +17,8 @@
-
+
+