123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup>
- <TargetFramework>net472</TargetFramework>
- <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
- <LangVersion>8</LangVersion>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
- <OutputPath>bin\Debug\</OutputPath>
- </PropertyGroup>
- <ItemGroup>
- <PackageReference Include="ILRepack" Version="2.0.18" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\BeatLyrics.Common\BeatLyrics.Common.csproj" />
- </ItemGroup>
- <ItemGroup>
- <Reference Include="Main">
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Main.dll</HintPath>
- </Reference>
- <Reference Include="IllusionPlugin">
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\IllusionPlugin.dll</HintPath>
- </Reference>
- <Reference Include="Unity.TextMeshPro">
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Unity.TextMeshPro.dll</HintPath>
- </Reference>
- <Reference Include="UnityEngine.AudioModule">
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.AudioModule.dll</HintPath>
- </Reference>
- <Reference Include="UnityEngine.CoreModule">
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
- </Reference>
- <Reference Include="UnityEngine.UnityWebRequestModule">
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UnityWebRequestModule.dll</HintPath>
- </Reference>
- <Reference Include="UnityEngine.UI">
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UI.dll</HintPath>
- </Reference>
- <Reference Include="UnityEngine.UIElementsModule">
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UIElementsModule.dll</HintPath>
- </Reference>
- <Reference Include="UnityEngine.UIModule">
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UIModule.dll</HintPath>
- </Reference>
- <Reference Include="UnityEngine.VRModule">
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.VRModule.dll</HintPath>
- </Reference>
- <Reference Include="UnityEngine.InputLegacyModule">
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.InputLegacyModule.dll</HintPath>
- </Reference>
- <Reference Include="HMLib">
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\HMLib.dll</HintPath>
- </Reference>
- <Reference Include="Zenject">
- <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Zenject.dll</HintPath>
- </Reference>
- <Reference Include="SongLoaderPlugin">
- <HintPath>$(BeatSaberDir)\Plugins\SongCore.dll</HintPath>
- </Reference>
- <Reference Include="Newtonsoft.Json">
- <HintPath>$(BeatSaberDir)\Libs\Newtonsoft.Json.dll</HintPath>
- </Reference>
- </ItemGroup>
- <Target Name="PostBuild" AfterTargets="PostBuildEvent">
- <Exec Command="$(ilrepack) /ndebug /out:$(TargetDir)$(TargetName).Merged.dll $(TargetPath) $(TargetDir)$(TargetName).Common.dll" />
- <Copy SourceFiles="$(TargetDir)$(TargetName).Merged.dll" DestinationFolder="$(BeatSaberDir)\Plugins" />
- </Target>
- </Project>
|