mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
48 lines
2.3 KiB
XML
48 lines
2.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>netstandard2.1</TargetFramework>
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
<AssemblyTitle>BepInEx.IL2CPP</AssemblyTitle>
|
|
<Product>BepInEx.IL2CPP</Product>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<OutputPath>..\bin\IL2CPP\</OutputPath>
|
|
<LangVersion>9</LangVersion>
|
|
<Configurations>Debug;Release</Configurations>
|
|
<Platforms>AnyCPU</Platforms>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugType>portable</DebugType>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<DebugType>none</DebugType>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\BepInEx.Core\BepInEx.Core.csproj" />
|
|
<ProjectReference Include="..\BepInEx.Preloader.Core\BepInEx.Preloader.Core.csproj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="BepInEx.Il2Cpp.TlsAdapter" Version="1.0.1" />
|
|
<PackageReference Include="HarmonyX" Version="2.4.2"/>
|
|
<PackageReference Include="Iced" Version="1.11.0" />
|
|
<PackageReference Include="Il2CppAssemblyUnhollower.BaseLib" Version="0.4.14" />
|
|
<PackageReference Include="Il2CppAssemblyUnhollower.BaseLib.Legacy" Version="0.4.11.1" />
|
|
<PackageReference Include="Il2CppAssemblyUnhollower.Tool" Version="0.4.13" />
|
|
<PackageReference Include="Il2CppDumper" Version="6.5.3" />
|
|
<PackageReference Include="Il2CppReferenceLibs.Core" Version="1.0.0" IncludeAssets="compile" />
|
|
<PackageReference Include="MonoMod.RuntimeDetour" Version="21.4.21.3"/>
|
|
</ItemGroup>
|
|
<Import Project="..\BepInEx.Shared\BepInEx.Shared.projitems" Label="Shared" />
|
|
|
|
<!-- 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 mono -->
|
|
<Target Name="DeleteSys" AfterTargets="Build">
|
|
<ItemGroup>
|
|
<FilesToDelete Include="$(OutputPath)System.*.dll" />
|
|
<FilesToDelete Include="$(OutputPath)*.deps.json" />
|
|
</ItemGroup>
|
|
<Delete Files="@(FilesToDelete)" />
|
|
</Target>
|
|
|
|
</Project> |