You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

208 lines
10 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  4. <PropertyGroup>
  5. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  6. <Platform Condition=" '$(Platform)' == '' ">Net4</Platform>
  7. <BuildForBeatSaber Condition=" '$(BuildForBeatSaber)' == '' And '$(Platform)' == 'Net4' ">true</BuildForBeatSaber>
  8. <ProjectGuid>{5AD344F0-01A0-4CA8-92E5-9D095737744D}</ProjectGuid>
  9. <OutputType>Library</OutputType>
  10. <AppDesignerFolder>Properties</AppDesignerFolder>
  11. <RootNamespace>IPA</RootNamespace>
  12. <AssemblyName>IPA.Loader</AssemblyName>
  13. <FileAlignment>512</FileAlignment>
  14. <Deterministic>true</Deterministic>
  15. <PathMap>$(SolutionDir)=C:\</PathMap>
  16. <DebugType>portable</DebugType>
  17. <LangVersion>8.0</LangVersion>
  18. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  19. <NoWarn>CA1031</NoWarn>
  20. </PropertyGroup>
  21. <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
  22. <DebugSymbols>true</DebugSymbols>
  23. <Optimize>false</Optimize>
  24. <OutputPath>bin\$(Platform)\Debug\</OutputPath>
  25. <DefineConstants>DEBUG;TRACE</DefineConstants>
  26. <ErrorReport>prompt</ErrorReport>
  27. <WarningLevel>4</WarningLevel>
  28. <RegisterForComInterop>false</RegisterForComInterop>
  29. </PropertyGroup>
  30. <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
  31. <Optimize>true</Optimize>
  32. <OutputPath>bin\$(Platform)\Release\</OutputPath>
  33. <DefineConstants>TRACE</DefineConstants>
  34. <ErrorReport>prompt</ErrorReport>
  35. <WarningLevel>4</WarningLevel>
  36. <RegisterForComInterop>false</RegisterForComInterop>
  37. </PropertyGroup>
  38. <PropertyGroup Condition=" '$(Platform)' == 'Net4' ">
  39. <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
  40. <DefineConstants>$(DefineConstants);NET4</DefineConstants>
  41. </PropertyGroup>
  42. <PropertyGroup Condition=" '$(Platform)' == 'Net3' ">
  43. <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
  44. <DefineConstants>$(DefineConstants);NET3</DefineConstants>
  45. </PropertyGroup>
  46. <PropertyGroup Condition=" '$(BuildForBeatSaber)' == 'true' ">
  47. <DefineConstants>$(DefineConstants);BeatSaber</DefineConstants>
  48. </PropertyGroup>
  49. <PropertyGroup>
  50. <DocumentationFile>$(OutputPath)IPA.Loader.xml</DocumentationFile>
  51. </PropertyGroup>
  52. <ItemGroup>
  53. <Reference Include="System" />
  54. <Reference Include="System.Core" />
  55. <Reference Include="System.Xml.Linq" />
  56. <Reference Include="System.Data.DataSetExtensions" />
  57. <Reference Include="Microsoft.CSharp" Condition=" '$(Platform)' == 'Net4' " />
  58. <Reference Include="System.Data" />
  59. <Reference Include="System.Net.Http" Condition=" '$(Platform)' == 'Net4' " />
  60. <Reference Include="System.Xml" />
  61. </ItemGroup>
  62. <ItemGroup Condition=" '$(Platform)' == 'Net4' ">
  63. <Reference Include="UnityEngine.CoreModule">
  64. <HintPath>..\Refs\UnityEngine.CoreModule.Net4.dll</HintPath>
  65. <Private>False</Private>
  66. </Reference>
  67. <Reference Include="UnityEngine.UnityWebRequestModule">
  68. <HintPath>..\Refs\UnityEngine.UnityWebRequestModule.Net4.dll</HintPath>
  69. <Private>False</Private>
  70. </Reference>
  71. </ItemGroup>
  72. <ItemGroup Condition=" '$(Platform)' == 'Net3' ">
  73. <Reference Include="UnityEngine.CoreModule">
  74. <HintPath>..\Refs\UnityEngine.CoreModule.Net3.dll</HintPath>
  75. <Private>False</Private>
  76. </Reference>
  77. <Reference Include="UnityEngine.UnityWebRequestModule">
  78. <HintPath>..\Refs\UnityEngine.UnityWebRequestModule.Net3.dll</HintPath>
  79. <Private>False</Private>
  80. </Reference>
  81. </ItemGroup>
  82. <ItemGroup>
  83. <ProjectReference Include="..\Net3-Proxy\Net3-Proxy.csproj" Condition=" '$(Platform)' == 'Net3' ">
  84. <Project>{642F52DA-90F9-40E3-8784-6964F36752FB}</Project>
  85. <Name>Net3-Proxy</Name>
  86. </ProjectReference>
  87. </ItemGroup>
  88. <ItemGroup>
  89. <Compile Include="Config\Config.cs" />
  90. <Compile Include="Config\ConfigRuntime.cs" />
  91. <Compile Include="Config\Providers\JsonConfigProvider.cs" />
  92. <Compile Include="Config\Data\List.cs" />
  93. <Compile Include="Config\Data\Map.cs" />
  94. <Compile Include="Config\Data\Primitives.cs" />
  95. <Compile Include="Config\Data\Value.cs" />
  96. <Compile Include="Config\IConfigProvider.cs" />
  97. <Compile Include="Config\IConfigStore.cs" />
  98. <Compile Include="Config\SelfConfig.cs" />
  99. <Compile Include="Config\Stores\Attributes.cs" />
  100. <Compile Include="Config\Stores\Converters.cs" />
  101. <Compile Include="Config\Stores\CustomObjectConverter.cs" />
  102. <Compile Include="Config\Stores\CollectionConverter.cs" />
  103. <Compile Include="Config\Stores\GeneratedStoreImpl\ConversionDelegates.cs" />
  104. <Compile Include="Config\Stores\GeneratedStoreImpl\Correction.cs" />
  105. <Compile Include="Config\Stores\GeneratedStoreImpl\Deserialization.cs" />
  106. <Compile Include="Config\Stores\GeneratedStoreImpl\GeneratedStoreImpl.cs" />
  107. <Compile Include="Config\Stores\GeneratedStoreCollections.cs" />
  108. <Compile Include="Config\Stores\GeneratedStoreImpl\IGeneratedStore.cs" />
  109. <Compile Include="Config\Stores\GeneratedStoreImpl\MakeCreator.cs" />
  110. <Compile Include="Config\Stores\GeneratedStoreImpl\ObjectStructure.cs" />
  111. <Compile Include="Config\Stores\GeneratedStoreImpl\Serialization.cs" />
  112. <Compile Include="Config\Stores\GeneratedStoreImpl\Utility.cs" />
  113. <Compile Include="Config\Stores\GeneratedStorePublicInterface.cs" />
  114. <Compile Include="Config\Stores\ValueConverter.cs" />
  115. <Compile Include="JsonConverters\AlmostVersionConverter.cs" />
  116. <Compile Include="JsonConverters\MultilineStringConverter.cs" />
  117. <Compile Include="Loader\CannotRuntimeDisableException.cs" />
  118. <Compile Include="Loader\Composite\CompositeBSPlugin.cs" />
  119. <Compile Include="Loader\DisabledConfig.cs" />
  120. <Compile Include="Loader\Features\ConfigProviderFeature.cs" />
  121. <Compile Include="Loader\Features\DefineFeature.cs" />
  122. <Compile Include="Loader\Features\InitInjectorFeature.cs" />
  123. <Compile Include="Loader\Features\NoUpdateFeature.cs" />
  124. <Compile Include="Loader\Features\PrintFeature.cs" />
  125. <Compile Include="Loader\HarmonyProtector.cs" />
  126. <Compile Include="Loader\PluginExecutor.cs" />
  127. <Compile Include="Loader\PluginInitInjector.cs" />
  128. <Compile Include="Loader\LibLoader.cs" />
  129. <Compile Include="Loader\Features\Feature.cs" />
  130. <Compile Include="Loader\PluginLoader.cs" />
  131. <Compile Include="Loader\PluginManifest.cs" />
  132. <Compile Include="Loader\PluginMetadata.cs" />
  133. <Compile Include="Loader\StateTransitionTransaction.cs" />
  134. <Compile Include="Logging\ConsoleWindow.cs" />
  135. <Compile Include="Logging\Printers\ColorlessConsolePrinter.cs" />
  136. <Compile Include="Logging\Printers\PluginSubLogPrinter.cs" />
  137. <Compile Include="Logging\StdoutInterceptor.cs" />
  138. <Compile Include="PluginInterfaces\Attributes\LifecycleAttributes.cs" />
  139. <Compile Include="PluginInterfaces\Attributes\PluginAttribute.cs" />
  140. <Compile Include="Config\IniFile.cs" />
  141. <Compile Include="PluginInterfaces\IPA\IEnhancedPlugin.cs" />
  142. <Compile Include="PluginInterfaces\IPA\IPlugin.cs" />
  143. <Compile Include="Logging\Logger.cs" />
  144. <Compile Include="Logging\LogPrinter.cs" />
  145. <Compile Include="Config\ModPrefs.cs" />
  146. <Compile Include="JsonConverters\SemverRangeConverter.cs" />
  147. <Compile Include="JsonConverters\SemverVersionConverter.cs" />
  148. <Compile Include="Utilities\Async\Coroutines.cs" />
  149. <Compile Include="Utilities\Async\SingleCreationValueCache.cs" />
  150. <Compile Include="Utilities\Async\SingleThreadTaskScheduler.cs" />
  151. <Compile Include="Utilities\Accessor.cs" />
  152. <Compile Include="Utilities\Async\UnityMainThreadTaskScheduler.cs" />
  153. <Compile Include="Utilities\UnityGame.cs" />
  154. <Compile Include="Utilities\AlmostVersion.cs" />
  155. <Compile Include="Utilities\CriticalSection.cs" />
  156. <Compile Include="Utilities\EnumerableExtensions.cs" />
  157. <Compile Include="Utilities\Ref.cs" />
  158. <Compile Include="Utilities\ReflectionUtil.cs" />
  159. <Compile Include="Loader\Composite\CompositeIPAPlugin.cs" />
  160. <Compile Include="Logging\Printers\ColoredConsolePrinter.cs" />
  161. <Compile Include="Logging\Printers\GlobalLogFilePrinter.cs" />
  162. <Compile Include="Logging\Printers\GZFilePrinter.cs" />
  163. <Compile Include="Logging\Printers\PluginLogFilePrinter.cs" />
  164. <Compile Include="Logging\StandardLogger.cs" />
  165. <Compile Include="Logging\UnityLogProvider.cs" />
  166. <Compile Include="Loader\PluginComponent.cs" />
  167. <Compile Include="Loader\PluginManager.cs" />
  168. <Compile Include="Properties\AssemblyInfo.cs" />
  169. <Compile Include="Updating\BeatMods\ApiEndpoint.cs" />
  170. <Compile Include="Updating\BeatMods\Updater.cs" />
  171. <Compile Include="Utilities\Extensions.cs" />
  172. <Compile Include="Utilities\Async\Synchronization.cs" />
  173. <Compile Include="Utilities\Utils.cs" />
  174. <Compile Include="Utilities\Win32.cs" />
  175. </ItemGroup>
  176. <ItemGroup>
  177. <PackageReference Include="Ionic.Zip">
  178. <Version>1.9.1.8</Version>
  179. </PackageReference>
  180. <PackageReference Include="Lib.Harmony">
  181. <Version>2.0.0.7</Version>
  182. </PackageReference>
  183. <PackageReference Include="Mono.Cecil">
  184. <Version>0.10.4</Version>
  185. </PackageReference>
  186. <PackageReference Include="Newtonsoft.Json">
  187. <Version>12.0.3</Version>
  188. </PackageReference>
  189. <PackageReference Include="Portable.System.ValueTuple">
  190. <Version>1.0.1</Version>
  191. </PackageReference>
  192. <PackageReference Include="SemanticVersioning">
  193. <Version>1.2.2</Version>
  194. </PackageReference>
  195. <PackageReference Include="AsyncBridge">
  196. <Version>0.3.1</Version>
  197. </PackageReference>
  198. </ItemGroup>
  199. <ItemGroup>
  200. <EmbeddedResource Include="Loader\manifest.json" />
  201. <EmbeddedResource Include="icon_white.png" />
  202. <EmbeddedResource Include="Loader\description.md" />
  203. </ItemGroup>
  204. <ItemGroup>
  205. <None Include="icon_black.png" />
  206. </ItemGroup>
  207. <ItemGroup />
  208. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  209. </Project>