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.

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