mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
52 lines
2.8 KiB
XML
52 lines
2.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<Description>BepInEx support library for Il2Cpp games</Description>
|
|
<TargetFramework>net6.0</TargetFramework>
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
<AssemblyTitle>BepInEx.IL2CPP</AssemblyTitle>
|
|
<Product>BepInEx.IL2CPP</Product>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<OutputPath>..\bin\IL2CPP\</OutputPath>
|
|
<LangVersion>10</LangVersion>
|
|
<Configurations>Debug;Release</Configurations>
|
|
<Platforms>AnyCPU</Platforms>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugType>embedded</DebugType>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<DebugType>none</DebugType>
|
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\BepInEx.Core\BepInEx.Core.csproj"/>
|
|
<ProjectReference Include="..\BepInEx.Preloader.Core\BepInEx.Preloader.Core.csproj" PrivateAssets="All"/>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="HarmonyX" Version="2.10.0"/>
|
|
<PackageReference Include="Iced" Version="1.17.0"/>
|
|
<PackageReference Include="Il2CppInterop.Generator" Version="1.0.0-pre.10"/>
|
|
<PackageReference Include="Il2CppInterop.HarmonySupport" Version="1.0.0-pre.10"/>
|
|
<PackageReference Include="Il2CppInterop.ReferenceLibs" Version="1.0.0-pre.2" IncludeAssets="compile" PrivateAssets="all"/>
|
|
<PackageReference Include="Il2CppInterop.Runtime" Version="1.0.0-pre.10"/>
|
|
<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.RuntimeDetour" Version="22.5.1.1"/>
|
|
<PackageReference Include="Samboy063.Cpp2IL.Core" Version="2022.0.5"/>
|
|
</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>
|