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.

119 lines
5.3 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.CoreModule">
  51. <HintPath>..\Refs\UnityEngine.CoreModule.dll</HintPath>
  52. <Private>False</Private>
  53. </Reference>
  54. <Reference Include="UnityEngine.UI">
  55. <HintPath>..\Refs\UnityEngine.UI.dll</HintPath>
  56. <Private>False</Private>
  57. </Reference>
  58. <Reference Include="UnityEngine.UIModule">
  59. <HintPath>..\Refs\UnityEngine.UIModule.dll</HintPath>
  60. <Private>False</Private>
  61. </Reference>
  62. </ItemGroup>
  63. <ItemGroup>
  64. <Compile Include="Plugin.cs" />
  65. <Compile Include="Properties\AssemblyInfo.cs" />
  66. <Compile Include="UI\ModListFlowCoordinator.cs" />
  67. <Compile Include="UI\ViewControllers\BackButtonNavigationController.cs" />
  68. <Compile Include="UI\ViewControllers\ModInfoViewController.cs" />
  69. <Compile Include="UI\ViewControllers\ModListController.cs" />
  70. </ItemGroup>
  71. <ItemGroup>
  72. <ProjectReference Include="..\IPA.Loader\IPA.Loader.csproj">
  73. <Project>{5ad344f0-01a0-4ca8-92e5-9d095737744d}</Project>
  74. <Name>IPA.Loader</Name>
  75. <Private>False</Private>
  76. </ProjectReference>
  77. </ItemGroup>
  78. <ItemGroup>
  79. <EmbeddedResource Include="manifest.json" />
  80. </ItemGroup>
  81. <ItemGroup>
  82. <PackageReference Include="SemanticVersioning">
  83. <Version>1.2.0</Version>
  84. </PackageReference>
  85. </ItemGroup>
  86. <ItemGroup>
  87. <EmbeddedResource Include="Icons\mod_bsipa.png" />
  88. <EmbeddedResource Include="Icons\mod_ipa.png" />
  89. </ItemGroup>
  90. <ItemGroup>
  91. <EmbeddedResource Include="Icons\self.png" />
  92. </ItemGroup>
  93. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  94. <Target Name="AfterBuild">
  95. <Message Text="Packing..." Importance="normal" />
  96. <!--<ItemGroup>
  97. <Dlls Include="$(SolutionDir)IPA.Injector\bin\$(OtherConfig)\**\*" Exclude="$(SolutionDir)IPA.Injector\bin\$(OtherConfig)\Libraries\**\*" />
  98. <Dlls Include="$(SolutionDir)Doorstop\Proxy\bin\x64\$(ProxyConfig)\**\*.dll" />
  99. <Dlls Include="$(SolutionDir)Doorstop\Proxy\bin\x64\$(ProxyConfig)\**\*.pdb" />
  100. </ItemGroup>
  101. <Copy SourceFiles="@(Dlls)" DestinationFolder="$(OutputPath)IPA\%(RecursiveDir)" />
  102. <Move SourceFiles="$(OutputPath)IPA\proxy.dll" DestinationFiles="$(OutputPath)IPA\winhttp.dll" />
  103. <Move Condition="Exists('$(OutputPath)IPA\proxy.pdb')" SourceFiles="$(OutputPath)IPA\proxy.pdb" DestinationFiles="$(OutputPath)IPA\winhttp.pdb" />
  104. <ItemGroup>
  105. <BadFiles Include="$(OutputPath)*.dll" />
  106. <BadFiles Include="$(OutputPath)*.pdb" Condition="'$(Configuration)'=='Release' Or '$(Configuration)'=='Verbose_Release'" />
  107. <BadFiles Include="$(OutputPath)IPA\*.pdb" Condition="'$(Configuration)'=='Release' Or '$(Configuration)'=='Verbose_Release'" />
  108. </ItemGroup>
  109. <Delete Files="@(BadFiles)" />
  110. <RemoveDir Directories="$(OutputPath)Libraries\" />-->
  111. <ItemGroup>
  112. <BadFiles Include="$(OutputPath)**/*" Exclude="$(OutputPath)**/$(AssemblyName).*" />
  113. </ItemGroup>
  114. <Delete Files="@(BadFiles)" />
  115. <ItemGroup>
  116. <UnBadFiles Include="$(OutputPath)*" />
  117. </ItemGroup>
  118. <Move SourceFiles="@(UnBadFiles)" DestinationFolder="$(OutputPath)Plugins/" />
  119. </Target>
  120. </Project>