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.

201 lines
9.8 KiB

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