SongCore.csproj 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="packages\ILRepack.2.0.18\build\ILRepack.props" Condition="Exists('packages\ILRepack.2.0.18\build\ILRepack.props')" />
  4. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  5. <PropertyGroup>
  6. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  7. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  8. <ProjectGuid>{6616AC24-0A2F-41A0-8C70-5F601F87251C}</ProjectGuid>
  9. <OutputType>Library</OutputType>
  10. <AppDesignerFolder>Properties</AppDesignerFolder>
  11. <RootNamespace>SongCore</RootNamespace>
  12. <AssemblyName>SongCore</AssemblyName>
  13. <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
  14. <FileAlignment>512</FileAlignment>
  15. <DisableCopyToPlugins>True</DisableCopyToPlugins>
  16. <DisableZipRelease>True</DisableZipRelease>
  17. <TargetFrameworkProfile />
  18. <NuGetPackageImportStamp>
  19. </NuGetPackageImportStamp>
  20. </PropertyGroup>
  21. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  22. <DebugSymbols>true</DebugSymbols>
  23. <DebugType>portable</DebugType>
  24. <Optimize>false</Optimize>
  25. <OutputPath>bin\Debug\</OutputPath>
  26. <DefineConstants>DEBUG;TRACE</DefineConstants>
  27. <ErrorReport>prompt</ErrorReport>
  28. <WarningLevel>4</WarningLevel>
  29. <Prefer32Bit>false</Prefer32Bit>
  30. <LangVersion>latest</LangVersion>
  31. </PropertyGroup>
  32. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  33. <DebugType>portable</DebugType>
  34. <Optimize>true</Optimize>
  35. <OutputPath>bin\Release\</OutputPath>
  36. <DefineConstants>TRACE</DefineConstants>
  37. <ErrorReport>prompt</ErrorReport>
  38. <WarningLevel>4</WarningLevel>
  39. <Prefer32Bit>false</Prefer32Bit>
  40. <DebugSymbols>true</DebugSymbols>
  41. <LangVersion>latest</LangVersion>
  42. </PropertyGroup>
  43. <ItemGroup>
  44. <Reference Include="0Harmony">
  45. <HintPath>$(BeatSaberDir)\Libs\0Harmony.dll</HintPath>
  46. </Reference>
  47. <Reference Include="Accessibility" />
  48. <Reference Include="BeatmapCore, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  49. <SpecificVersion>False</SpecificVersion>
  50. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\BeatmapCore.dll</HintPath>
  51. </Reference>
  52. <Reference Include="BSML, Version=1.3.5.0, Culture=neutral, processorArchitecture=MSIL">
  53. <SpecificVersion>False</SpecificVersion>
  54. <HintPath>$(BeatSaberDir)\Plugins\BSML.dll</HintPath>
  55. </Reference>
  56. <Reference Include="BS_Utils, Version=1.4.1.0, Culture=neutral, processorArchitecture=MSIL">
  57. <SpecificVersion>False</SpecificVersion>
  58. <HintPath>$(BeatSaberDir)\Plugins\BS_Utils.dll</HintPath>
  59. </Reference>
  60. <Reference Include="Colors">
  61. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Colors.dll</HintPath>
  62. </Reference>
  63. <Reference Include="Core, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  64. <SpecificVersion>False</SpecificVersion>
  65. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Core.dll</HintPath>
  66. </Reference>
  67. <Reference Include="GameplayCore, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  68. <SpecificVersion>False</SpecificVersion>
  69. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\GameplayCore.dll</HintPath>
  70. </Reference>
  71. <Reference Include="HMLib">
  72. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\HMLib.dll</HintPath>
  73. </Reference>
  74. <Reference Include="HMUI">
  75. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\HMUI.dll</HintPath>
  76. </Reference>
  77. <Reference Include="IPA.Injector, Version=3.13.7.0, Culture=neutral, processorArchitecture=MSIL">
  78. <SpecificVersion>False</SpecificVersion>
  79. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\IPA.Injector.dll</HintPath>
  80. </Reference>
  81. <Reference Include="IPA.Loader, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  82. <SpecificVersion>False</SpecificVersion>
  83. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\IPA.Loader.dll</HintPath>
  84. </Reference>
  85. <Reference Include="K4os.Compression.LZ4, Version=1.2.6.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
  86. <HintPath>packages\K4os.Compression.LZ4.1.2.6\lib\net46\K4os.Compression.LZ4.dll</HintPath>
  87. </Reference>
  88. <Reference Include="LIV">
  89. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\LIV.dll</HintPath>
  90. </Reference>
  91. <Reference Include="Main">
  92. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Main.dll</HintPath>
  93. </Reference>
  94. <Reference Include="MediaLoader">
  95. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\MediaLoader.dll</HintPath>
  96. </Reference>
  97. <Reference Include="Microsoft.CSharp" />
  98. <Reference Include="Mono.Posix">
  99. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Mono.Posix.dll</HintPath>
  100. </Reference>
  101. <Reference Include="Newtonsoft.Json">
  102. <HintPath>$(BeatSaberDir)\Libs\Newtonsoft.Json.dll</HintPath>
  103. </Reference>
  104. <Reference Include="SemVer">
  105. <HintPath>$(BeatSaberDir)\Libs\SemVer.dll</HintPath>
  106. </Reference>
  107. <Reference Include="System" />
  108. <Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
  109. <HintPath>packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
  110. </Reference>
  111. <Reference Include="System.Core" />
  112. <Reference Include="System.Drawing" />
  113. <Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
  114. <HintPath>packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
  115. </Reference>
  116. <Reference Include="System.Numerics" />
  117. <Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  118. <HintPath>packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
  119. </Reference>
  120. <Reference Include="System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  121. <HintPath>packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
  122. </Reference>
  123. <Reference Include="System.Xml.Linq" />
  124. <Reference Include="System.Data.DataSetExtensions" />
  125. <Reference Include="System.Data" />
  126. <Reference Include="System.Xml" />
  127. <Reference Include="Unity.TextMeshPro, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  128. <SpecificVersion>False</SpecificVersion>
  129. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Unity.TextMeshPro.dll</HintPath>
  130. </Reference>
  131. <Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  132. <SpecificVersion>False</SpecificVersion>
  133. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.dll</HintPath>
  134. </Reference>
  135. <Reference Include="UnityEngine.AudioModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  136. <SpecificVersion>False</SpecificVersion>
  137. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.AudioModule.dll</HintPath>
  138. </Reference>
  139. <Reference Include="UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  140. <SpecificVersion>False</SpecificVersion>
  141. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
  142. </Reference>
  143. <Reference Include="UnityEngine.ImageConversionModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  144. <SpecificVersion>False</SpecificVersion>
  145. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.ImageConversionModule.dll</HintPath>
  146. </Reference>
  147. <Reference Include="UnityEngine.InputLegacyModule">
  148. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.InputLegacyModule.dll</HintPath>
  149. </Reference>
  150. <Reference Include="UnityEngine.JSONSerializeModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  151. <SpecificVersion>False</SpecificVersion>
  152. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.JSONSerializeModule.dll</HintPath>
  153. </Reference>
  154. <Reference Include="UnityEngine.ParticleSystemModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  155. <SpecificVersion>False</SpecificVersion>
  156. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.ParticleSystemModule.dll</HintPath>
  157. </Reference>
  158. <Reference Include="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  159. <SpecificVersion>False</SpecificVersion>
  160. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UI.dll</HintPath>
  161. </Reference>
  162. <Reference Include="UnityEngine.UIElementsModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  163. <SpecificVersion>False</SpecificVersion>
  164. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UIElementsModule.dll</HintPath>
  165. </Reference>
  166. <Reference Include="UnityEngine.UIModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  167. <SpecificVersion>False</SpecificVersion>
  168. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UIModule.dll</HintPath>
  169. </Reference>
  170. <Reference Include="UnityEngine.UnityWebRequestModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  171. <SpecificVersion>False</SpecificVersion>
  172. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.UnityWebRequestModule.dll</HintPath>
  173. </Reference>
  174. <Reference Include="UnityEngine.VRModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  175. <SpecificVersion>False</SpecificVersion>
  176. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.VRModule.dll</HintPath>
  177. </Reference>
  178. <Reference Include="UnityEngine.XRModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  179. <SpecificVersion>False</SpecificVersion>
  180. <HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\UnityEngine.XRModule.dll</HintPath>
  181. </Reference>
  182. </ItemGroup>
  183. <ItemGroup>
  184. <Compile Include="Collections.cs" />
  185. <Compile Include="Converter.cs" />
  186. <Compile Include="Data\CachedSongData.cs" />
  187. <Compile Include="Data\SongFolderEntries.cs" />
  188. <Compile Include="Arcache\ArcacheLoader.cs" />
  189. <Compile Include="Arcache\LengthPack.cs" />
  190. <Compile Include="Arcache\Lz4ArchiveBase.cs" />
  191. <Compile Include="Arcache\Lz4ArchiveEntry.cs" />
  192. <Compile Include="Arcache\Lz4ArchiveReader.cs" />
  193. <Compile Include="HarmonyPatches\ClampPatches.cs" />
  194. <Compile Include="HarmonyPatches\BeatmapDifficultyMethodsName.cs" />
  195. <Compile Include="HarmonyPatches\AprilFools.cs" />
  196. <Compile Include="HarmonyPatches\PlatformsPatch.cs" />
  197. <Compile Include="HarmonyPatches\CustomCharacteristicsPatch.cs" />
  198. <Compile Include="HarmonyPatches\CustomSongColorsPatch.cs" />
  199. <Compile Include="HarmonyPatches\LevelSelectionPatch.cs" />
  200. <Compile Include="HarmonyPatches\LoadingPatches.cs" />
  201. <Compile Include="HarmonyPatches\StandardLevelDetailViewRefreshContent.cs" />
  202. <Compile Include="Loader.cs" />
  203. <Compile Include="OverrideClasses\SongCoreCustomBeatmapLevelPack.cs" />
  204. <Compile Include="OverrideClasses\SongCoreBeatmapLevelPackCollectionSO.cs" />
  205. <Compile Include="OverrideClasses\SongCoreCustomLevelCollection.cs" />
  206. <Compile Include="Plugin.cs" />
  207. <Compile Include="ProgressBar.cs" />
  208. <Compile Include="Properties\AssemblyInfo.cs" />
  209. <Compile Include="Data\SongData.cs" />
  210. <Compile Include="UI\BasicUI.cs" />
  211. <Compile Include="UI\RequirementsUI.cs" />
  212. <Compile Include="UI\SCSettings.cs" />
  213. <Compile Include="Utilities\Hashing.cs" />
  214. <Compile Include="Utilities\HSBColor.cs" />
  215. <Compile Include="Utilities\Logging.cs" />
  216. <Compile Include="Utilities\ReflectionUtil.cs" />
  217. <Compile Include="Utilities\Unzip.cs" />
  218. <Compile Include="Utilities\Utils.cs" />
  219. </ItemGroup>
  220. <ItemGroup>
  221. <EmbeddedResource Include="manifest.json" />
  222. </ItemGroup>
  223. <ItemGroup>
  224. <EmbeddedResource Include="Icons\GreenCheck.png" />
  225. </ItemGroup>
  226. <ItemGroup>
  227. <EmbeddedResource Include="Icons\Info.png" />
  228. </ItemGroup>
  229. <ItemGroup>
  230. <EmbeddedResource Include="Icons\RedX.png" />
  231. </ItemGroup>
  232. <ItemGroup>
  233. <EmbeddedResource Include="Icons\Warning.png" />
  234. </ItemGroup>
  235. <ItemGroup>
  236. <EmbeddedResource Include="Icons\YellowCheck.png" />
  237. </ItemGroup>
  238. <ItemGroup>
  239. <EmbeddedResource Include="Icons\YellowX.png" />
  240. </ItemGroup>
  241. <ItemGroup>
  242. <WCFMetadata Include="Connected Services\" />
  243. </ItemGroup>
  244. <ItemGroup>
  245. <EmbeddedResource Include="Icons\ExtraDiffsIcon.png" />
  246. <EmbeddedResource Include="Icons\Lightshow.png" />
  247. <EmbeddedResource Include="Icons\MissingChar.png" />
  248. <EmbeddedResource Include="Icons\squek.png" />
  249. </ItemGroup>
  250. <ItemGroup>
  251. <EmbeddedResource Include="Data\folders.xml" />
  252. </ItemGroup>
  253. <ItemGroup>
  254. <EmbeddedResource Include="Icons\FolderIcon.png" />
  255. </ItemGroup>
  256. <ItemGroup>
  257. <EmbeddedResource Include="UI\settings.bsml" />
  258. </ItemGroup>
  259. <ItemGroup>
  260. <EmbeddedResource Include="UI\requirements.bsml" />
  261. </ItemGroup>
  262. <ItemGroup>
  263. <None Include="app.config" />
  264. <None Include="packages.config" />
  265. </ItemGroup>
  266. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  267. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  268. <PropertyGroup>
  269. <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  270. </PropertyGroup>
  271. <Error Condition="!Exists('packages\ILRepack.2.0.18\build\ILRepack.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\ILRepack.2.0.18\build\ILRepack.props'))" />
  272. </Target>
  273. <PropertyGroup>
  274. <PostBuildEvent>if $(ConfigurationName) == Release if not exist "$(TargetDir)Packed" md "$(TargetDir)Packed"
  275. if $(ConfigurationName) == Release $(ILRepack) /ndebug "/out:$(TargetDir)Packed\$(TargetFileName)" "$(TargetPath)" K4os.Compression.LZ4.dll System.Buffers.dll System.Memory.dll System.Numerics.Vectors.dll System.Runtime.CompilerServices.Unsafe.dll
  276. if $(ConfigurationName) == Release if exist "$(TargetDir)Packed\$(TargetFileName).config" del "$(TargetDir)Packed\$(TargetFileName).config"
  277. if $(ConfigurationName) == Release copy /y "$(TargetDir)Packed\$(TargetFileName)" "$(BeatSaberDir)\Plugins\$(TargetFileName)"</PostBuildEvent>
  278. </PropertyGroup>
  279. </Project>