Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="16.11.0" />
<PackageReference Include="Il2CppInterop.Generator" Version="1.1.0" />
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="16.11.6" />
<PackageReference Include="Il2CppInterop.Generator" Version="1.5.0" />
<ProjectReference Include="..\BepInEx.IL2CPP.MSBuild.Shared\BepInEx.IL2CPP.MSBuild.Shared.csproj" />
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions BepInEx.IL2CPP.MSBuild.Runner/Il2CppInteropManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
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;
using Il2CppInterop.Generator.MetadataAccess;
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
Expand Down Expand Up @@ -51,7 +51,7 @@ public async Task<string> 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<AssemblyDefinition>)source.Assemblies,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="16.11.0" />
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="16.11.6" />
</ItemGroup>
</Project>
3 changes: 2 additions & 1 deletion BepInEx.IL2CPP.MSBuild/BepInEx.IL2CPP.MSBuild.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="16.11.0" />
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="16.11.6" />
<PackageReference Include="MonoMod.Backports" Version="1.1.2" />

<ProjectReference Include="..\BepInEx.IL2CPP.MSBuild.Shared\BepInEx.IL2CPP.MSBuild.Shared.csproj" />
<ProjectReference Include="..\BepInEx.IL2CPP.MSBuild.Runner\BepInEx.IL2CPP.MSBuild.Runner.csproj" ReferenceOutputAssembly="false" OutputItemType="ReferenceCopyLocalPaths" />
Expand Down