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.

123 lines
5.4 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)' == '' ">AnyCPU</Platform>
  7. <ProjectGuid>{23AB2621-A05C-4377-8418-85E6012C0BBE}</ProjectGuid>
  8. <OutputType>Library</OutputType>
  9. <AppDesignerFolder>Properties</AppDesignerFolder>
  10. <RootNamespace>BSIPA_ModList</RootNamespace>
  11. <AssemblyName>BSIPA-ModList</AssemblyName>
  12. <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
  13. <FileAlignment>512</FileAlignment>
  14. <Deterministic>true</Deterministic>
  15. </PropertyGroup>
  16. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  17. <DebugSymbols>true</DebugSymbols>
  18. <DebugType>portable</DebugType>
  19. <Optimize>false</Optimize>
  20. <OutputPath>bin\Debug\</OutputPath>
  21. <DefineConstants>DEBUG;TRACE</DefineConstants>
  22. <ErrorReport>prompt</ErrorReport>
  23. <WarningLevel>4</WarningLevel>
  24. </PropertyGroup>
  25. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  26. <DebugType>portable</DebugType>
  27. <Optimize>true</Optimize>
  28. <OutputPath>bin\Release\</OutputPath>
  29. <DefineConstants>TRACE</DefineConstants>
  30. <ErrorReport>prompt</ErrorReport>
  31. <WarningLevel>4</WarningLevel>
  32. </PropertyGroup>
  33. <ItemGroup>
  34. <Reference Include="Assembly-CSharp">
  35. <HintPath>..\Refs\Assembly-CSharp.dll</HintPath>
  36. <Private>False</Private>
  37. </Reference>
  38. <Reference Include="BeatSaberCustomUI">
  39. <HintPath>..\Refs\BeatSaberCustomUI.dll</HintPath>
  40. <Private>False</Private>
  41. </Reference>
  42. <Reference Include="System" />
  43. <Reference Include="System.Core" />
  44. <Reference Include="System.Xml.Linq" />
  45. <Reference Include="System.Data.DataSetExtensions" />
  46. <Reference Include="Microsoft.CSharp" />
  47. <Reference Include="System.Data" />
  48. <Reference Include="System.Net.Http" />
  49. <Reference Include="System.Xml" />
  50. <Reference Include="UnityEngine">
  51. <HintPath>..\Refs\UnityEngine.dll</HintPath>
  52. </Reference>
  53. <Reference Include="UnityEngine.CoreModule">
  54. <HintPath>..\Refs\UnityEngine.CoreModule.dll</HintPath>
  55. <Private>False</Private>
  56. </Reference>
  57. <Reference Include="UnityEngine.UI">
  58. <HintPath>..\Refs\UnityEngine.UI.dll</HintPath>
  59. <Private>False</Private>
  60. </Reference>
  61. <Reference Include="UnityEngine.UIModule">
  62. <HintPath>..\Refs\UnityEngine.UIModule.dll</HintPath>
  63. <Private>False</Private>
  64. </Reference>
  65. </ItemGroup>
  66. <ItemGroup>
  67. <Compile Include="Plugin.cs" />
  68. <Compile Include="Properties\AssemblyInfo.cs" />
  69. <Compile Include="UI\ButtonUI.cs" />
  70. <Compile Include="UI\ModListFlowCoordinator.cs" />
  71. <Compile Include="UI\ViewControllers\BackButtonNavigationController.cs" />
  72. <Compile Include="UI\ViewControllers\ModInfoViewController.cs" />
  73. <Compile Include="UI\ViewControllers\ModListController.cs" />
  74. </ItemGroup>
  75. <ItemGroup>
  76. <ProjectReference Include="..\IPA.Loader\IPA.Loader.csproj">
  77. <Project>{5ad344f0-01a0-4ca8-92e5-9d095737744d}</Project>
  78. <Name>IPA.Loader</Name>
  79. <Private>False</Private>
  80. </ProjectReference>
  81. </ItemGroup>
  82. <ItemGroup>
  83. <EmbeddedResource Include="manifest.json" />
  84. </ItemGroup>
  85. <ItemGroup>
  86. <PackageReference Include="SemanticVersioning">
  87. <Version>1.2.0</Version>
  88. </PackageReference>
  89. </ItemGroup>
  90. <ItemGroup>
  91. <EmbeddedResource Include="Icons\mod_bsipa.png" />
  92. <EmbeddedResource Include="Icons\mod_ipa.png" />
  93. </ItemGroup>
  94. <ItemGroup>
  95. <EmbeddedResource Include="Icons\self.png" />
  96. </ItemGroup>
  97. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  98. <Target Name="AfterBuild">
  99. <Message Text="Packing..." Importance="normal" />
  100. <!--<ItemGroup>
  101. <Dlls Include="$(SolutionDir)IPA.Injector\bin\$(OtherConfig)\**\*" Exclude="$(SolutionDir)IPA.Injector\bin\$(OtherConfig)\Libraries\**\*" />
  102. <Dlls Include="$(SolutionDir)Doorstop\Proxy\bin\x64\$(ProxyConfig)\**\*.dll" />
  103. <Dlls Include="$(SolutionDir)Doorstop\Proxy\bin\x64\$(ProxyConfig)\**\*.pdb" />
  104. </ItemGroup>
  105. <Copy SourceFiles="@(Dlls)" DestinationFolder="$(OutputPath)IPA\%(RecursiveDir)" />
  106. <Move SourceFiles="$(OutputPath)IPA\proxy.dll" DestinationFiles="$(OutputPath)IPA\winhttp.dll" />
  107. <Move Condition="Exists('$(OutputPath)IPA\proxy.pdb')" SourceFiles="$(OutputPath)IPA\proxy.pdb" DestinationFiles="$(OutputPath)IPA\winhttp.pdb" />
  108. <ItemGroup>
  109. <BadFiles Include="$(OutputPath)*.dll" />
  110. <BadFiles Include="$(OutputPath)*.pdb" Condition="'$(Configuration)'=='Release' Or '$(Configuration)'=='Verbose_Release'" />
  111. <BadFiles Include="$(OutputPath)IPA\*.pdb" Condition="'$(Configuration)'=='Release' Or '$(Configuration)'=='Verbose_Release'" />
  112. </ItemGroup>
  113. <Delete Files="@(BadFiles)" />
  114. <RemoveDir Directories="$(OutputPath)Libraries\" />-->
  115. <ItemGroup>
  116. <BadFiles Include="$(OutputPath)**/*" Exclude="$(OutputPath)**/$(AssemblyName).*" />
  117. </ItemGroup>
  118. <Delete Files="@(BadFiles)" />
  119. <ItemGroup>
  120. <UnBadFiles Include="$(OutputPath)*" />
  121. </ItemGroup>
  122. <Move SourceFiles="@(UnBadFiles)" DestinationFolder="$(OutputPath)Plugins/" />
  123. </Target>
  124. </Project>