forked from BepInEx/BepInEx
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathBepInEx.Unity.IL2CPP.csproj
More file actions
42 lines (40 loc) · 2.53 KB
/
Copy pathBepInEx.Unity.IL2CPP.csproj
File metadata and controls
42 lines (40 loc) · 2.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>BepInEx support library for Il2Cpp games</Description>
<TargetFramework>net10.0</TargetFramework>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<OutputPath>$(BuildDir)/Unity.IL2CPP</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<EnableDynamicLoading>true</EnableDynamicLoading>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\BepInEx.Core\BepInEx.Core.csproj"/>
<ProjectReference Include="..\..\..\BepInEx.Preloader.Core\BepInEx.Preloader.Core.csproj" PrivateAssets="All"/>
<ProjectReference Include="..\BepInEx.Unity.Common\BepInEx.Unity.Common.csproj"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Disarm" Version="2022.1.0-master.99" />
<PackageReference Include="HarmonyX" Version="2.16.0" />
<PackageReference Include="Il2CppInterop.Generator" Version="1.5.2-ci.star.5" />
<PackageReference Include="Il2CppInterop.HarmonySupport" Version="1.5.2-ci.star.5" />
<PackageReference Include="Il2CppInterop.ReferenceLibs" Version="1.0.0" IncludeAssets="compile" PrivateAssets="all"/>
<PackageReference Include="Il2CppInterop.Runtime" Version="1.5.2-ci.star.5" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" IncludeAssets="compile" PrivateAssets="all"/>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.1" IncludeAssets="compile" PrivateAssets="all"/>
<PackageReference Include="MonoMod.Core" Version="1.3.4-star" />
<PackageReference Include="MonoMod.RuntimeDetour" Version="25.3.4-star" />
<PackageReference Include="Samboy063.Cpp2IL.Core" Version="2022.1.0-development.1428" />
</ItemGroup>
<!-- CopyLocalLockFileAssemblies causes to also output shared assemblies: https://github.com/NuGet/Home/issues/4837#issuecomment-354536302 -->
<!-- Since all core assemblies usually follow naming of System.*, we just delete them for now -->
<!-- Also delete deps.json as they are not used by embedded CLR -->
<Target Name="DeleteSys" AfterTargets="Build">
<ItemGroup>
<FilesToDelete Include="$(OutputPath)System.*.dll"/>
<FilesToDelete Include="$(OutputPath)*.deps.json"/>
</ItemGroup>
<Delete Files="@(FilesToDelete)"/>
</Target>
</Project>