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.

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