BeatLyrics.csproj 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net472</TargetFramework>
  4. <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
  5. <LangVersion>8</LangVersion>
  6. </PropertyGroup>
  7. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
  8. <OutputPath>bin\Debug\</OutputPath>
  9. </PropertyGroup>
  10. <ItemGroup>
  11. <PackageReference Include="ILRepack" Version="2.0.18" />
  12. </ItemGroup>
  13. <ItemGroup>
  14. <ProjectReference Include="..\BeatLyrics.Common\BeatLyrics.Common.csproj" />
  15. </ItemGroup>
  16. <ItemGroup>
  17. <Reference Include="Main">
  18. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Main.dll</HintPath>
  19. </Reference>
  20. <Reference Include="IllusionPlugin">
  21. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\IllusionPlugin.dll</HintPath>
  22. </Reference>
  23. <Reference Include="Unity.TextMeshPro">
  24. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Unity.TextMeshPro.dll</HintPath>
  25. </Reference>
  26. <Reference Include="UnityEngine.AudioModule">
  27. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.AudioModule.dll</HintPath>
  28. </Reference>
  29. <Reference Include="UnityEngine.CoreModule">
  30. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
  31. </Reference>
  32. <Reference Include="UnityEngine.UnityWebRequestModule">
  33. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UnityWebRequestModule.dll</HintPath>
  34. </Reference>
  35. <Reference Include="UnityEngine.UI">
  36. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UI.dll</HintPath>
  37. </Reference>
  38. <Reference Include="UnityEngine.UIElementsModule">
  39. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UIElementsModule.dll</HintPath>
  40. </Reference>
  41. <Reference Include="UnityEngine.UIModule">
  42. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UIModule.dll</HintPath>
  43. </Reference>
  44. <Reference Include="UnityEngine.VRModule">
  45. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.VRModule.dll</HintPath>
  46. </Reference>
  47. <Reference Include="UnityEngine.InputLegacyModule">
  48. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.InputLegacyModule.dll</HintPath>
  49. </Reference>
  50. <Reference Include="HMLib">
  51. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\HMLib.dll</HintPath>
  52. </Reference>
  53. <Reference Include="Zenject">
  54. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Zenject.dll</HintPath>
  55. </Reference>
  56. <Reference Include="SongLoaderPlugin">
  57. <HintPath>$(BeatSaberDir)\Plugins\SongCore.dll</HintPath>
  58. </Reference>
  59. <Reference Include="Newtonsoft.Json">
  60. <HintPath>$(BeatSaberDir)\Libs\Newtonsoft.Json.dll</HintPath>
  61. </Reference>
  62. </ItemGroup>
  63. <Target Name="PostBuild" AfterTargets="PostBuildEvent">
  64. <Exec Command="$(ilrepack) /ndebug /out:$(TargetDir)$(TargetName).Merged.dll $(TargetPath) $(TargetDir)$(TargetName).Common.dll" />
  65. <Copy SourceFiles="$(TargetDir)$(TargetName).Merged.dll" DestinationFolder="$(BeatSaberDir)\Plugins" />
  66. </Target>
  67. </Project>