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

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\Deserialization.cs" />
  107. <Compile Include="Config\Stores\GeneratedStoreImpl\GeneratedStoreImpl.cs" />
  108. <Compile Include="Config\Stores\GeneratedStoreCollections.cs" />
  109. <Compile Include="Config\Stores\GeneratedStoreImpl\IGeneratedStore.cs" />
  110. <Compile Include="Config\Stores\GeneratedStoreImpl\MakeCreator.cs" />
  111. <Compile Include="Config\Stores\GeneratedStoreImpl\ObjectStructure.cs" />
  112. <Compile Include="Config\Stores\GeneratedStoreImpl\Serialization.cs" />
  113. <Compile Include="Config\Stores\GeneratedStoreImpl\Utility.cs" />
  114. <Compile Include="Config\Stores\GeneratedStorePublicInterface.cs" />
  115. <Compile Include="Config\Stores\ValueConverter.cs" />
  116. <Compile Include="JsonConverters\AlmostVersionConverter.cs" />
  117. <Compile Include="JsonConverters\MultilineStringConverter.cs" />
  118. <Compile Include="Loader\CannotRuntimeDisableException.cs" />
  119. <Compile Include="Loader\Composite\CompositeBSPlugin.cs" />
  120. <Compile Include="Loader\DisabledConfig.cs" />
  121. <Compile Include="Loader\Features\ConfigProviderFeature.cs" />
  122. <Compile Include="Loader\Features\DefineFeature.cs" />
  123. <Compile Include="Loader\Features\InitInjectorFeature.cs" />
  124. <Compile Include="Loader\Features\NoUpdateFeature.cs" />
  125. <Compile Include="Loader\Features\PrintFeature.cs" />
  126. <Compile Include="Loader\HarmonyProtector.cs" />
  127. <Compile Include="Loader\PluginExecutor.cs" />
  128. <Compile Include="Loader\PluginInitInjector.cs" />
  129. <Compile Include="Loader\LibLoader.cs" />
  130. <Compile Include="Loader\Features\Feature.cs" />
  131. <Compile Include="Loader\PluginLoader.cs" />
  132. <Compile Include="Loader\PluginManifest.cs" />
  133. <Compile Include="Loader\PluginMetadata.cs" />
  134. <Compile Include="Loader\StateTransitionTransaction.cs" />
  135. <Compile Include="Logging\ConsoleWindow.cs" />
  136. <Compile Include="Logging\Printers\ColorlessConsolePrinter.cs" />
  137. <Compile Include="Logging\Printers\PluginSubLogPrinter.cs" />
  138. <Compile Include="Logging\StdoutInterceptor.cs" />
  139. <Compile Include="PluginInterfaces\Attributes\LifecycleAttributes.cs" />
  140. <Compile Include="PluginInterfaces\Attributes\PluginAttribute.cs" />
  141. <Compile Include="Config\IniFile.cs" />
  142. <Compile Include="PluginInterfaces\IPA\IEnhancedPlugin.cs" />
  143. <Compile Include="PluginInterfaces\IPA\IPlugin.cs" />
  144. <Compile Include="Logging\Logger.cs" />
  145. <Compile Include="Logging\LogPrinter.cs" />
  146. <Compile Include="Config\ModPrefs.cs" />
  147. <Compile Include="JsonConverters\SemverRangeConverter.cs" />
  148. <Compile Include="JsonConverters\SemverVersionConverter.cs" />
  149. <Compile Include="Utilities\Async\Coroutines.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>