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.

100 lines
4.5 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>{880A3560-82CD-4836-996B-11BEFE6B44DB}</ProjectGuid>
  8. <OutputType>Library</OutputType>
  9. <RootNamespace>BSIPA_Net4_Meta</RootNamespace>
  10. <AssemblyName>BSIPA-Net4-Meta</AssemblyName>
  11. <TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
  12. <FileAlignment>512</FileAlignment>
  13. <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  14. <Deterministic>true</Deterministic>
  15. </PropertyGroup>
  16. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  17. <PlatformTarget>AnyCPU</PlatformTarget>
  18. <DebugSymbols>true</DebugSymbols>
  19. <DebugType>full</DebugType>
  20. <Optimize>false</Optimize>
  21. <OutputPath>bin\Debug\</OutputPath>
  22. <DefineConstants>DEBUG;TRACE</DefineConstants>
  23. <ErrorReport>prompt</ErrorReport>
  24. <WarningLevel>4</WarningLevel>
  25. <OtherConfig>Debug</OtherConfig>
  26. <ProxyConfig>Release</ProxyConfig>
  27. </PropertyGroup>
  28. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  29. <PlatformTarget>AnyCPU</PlatformTarget>
  30. <DebugType>pdbonly</DebugType>
  31. <Optimize>true</Optimize>
  32. <OutputPath>bin\Release\</OutputPath>
  33. <DefineConstants>TRACE</DefineConstants>
  34. <ErrorReport>prompt</ErrorReport>
  35. <WarningLevel>4</WarningLevel>
  36. <OtherConfig>Release</OtherConfig>
  37. <ProxyConfig>Release</ProxyConfig>
  38. </PropertyGroup>
  39. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Verbose|AnyCPU' ">
  40. <PlatformTarget>AnyCPU</PlatformTarget>
  41. <DebugSymbols>true</DebugSymbols>
  42. <DebugType>full</DebugType>
  43. <Optimize>false</Optimize>
  44. <OutputPath>bin\Verbose\</OutputPath>
  45. <DefineConstants>DEBUG;TRACE</DefineConstants>
  46. <ErrorReport>prompt</ErrorReport>
  47. <WarningLevel>4</WarningLevel>
  48. <OtherConfig>Verbose</OtherConfig>
  49. <ProxyConfig>Verbose_Release</ProxyConfig>
  50. </PropertyGroup>
  51. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Verbose_Release|AnyCPU' ">
  52. <PlatformTarget>AnyCPU</PlatformTarget>
  53. <DebugType>pdbonly</DebugType>
  54. <Optimize>true</Optimize>
  55. <OutputPath>bin\Verbose_Release\</OutputPath>
  56. <DefineConstants>TRACE</DefineConstants>
  57. <ErrorReport>prompt</ErrorReport>
  58. <WarningLevel>4</WarningLevel>
  59. <OtherConfig>Verbose_Release</OtherConfig>
  60. <ProxyConfig>Verbose_Release</ProxyConfig>
  61. </PropertyGroup>
  62. <Target Name="Clean">
  63. <ItemGroup>
  64. <Files Include="$(OutputPath)**\*" />
  65. </ItemGroup>
  66. <Delete Files="@(Files)" />
  67. </Target>
  68. <Target Name="Rebuild">
  69. <CallTarget Targets="Assemble"/>
  70. </Target>
  71. <Target Name="Build">
  72. <CallTarget Targets="Assemble"/>
  73. </Target>
  74. <Target Name="Assemble">
  75. <Message Text="Packing..." Importance="High" />
  76. <Message Text="Results will be put in $(OutputPath)" Importance="High" />
  77. <ItemGroup>
  78. <Dlls Include="$(SolutionDir)IPA.Injector\bin\$(OtherConfig)\**\*" Exclude="$(SolutionDir)IPA.Injector\bin\$(OtherConfig)\Libraries\**\*" />
  79. <Dlls Include="$(SolutionDir)Doorstop\Proxy\bin\x64\$(ProxyConfig)\**\*.dll" />
  80. <Dlls Include="$(SolutionDir)Doorstop\Proxy\bin\x64\$(ProxyConfig)\**\*.pdb" />
  81. </ItemGroup>
  82. <Copy SourceFiles="@(Dlls)" DestinationFolder="$(OutputPath)IPA\%(RecursiveDir)" />
  83. <Move SourceFiles="$(OutputPath)IPA\proxy.dll" DestinationFiles="$(OutputPath)IPA\winhttp.dll" />
  84. <Move Condition="Exists('$(OutputPath)IPA\proxy.pdb')" SourceFiles="$(OutputPath)IPA\proxy.pdb" DestinationFiles="$(OutputPath)IPA\winhttp.pdb" />
  85. <ItemGroup>
  86. <IPAFiles Include="$(SolutionDir)IPA\bin\$(OtherConfig)\**\*" />
  87. </ItemGroup>
  88. <Copy SourceFiles="@(IPAFiles)" DestinationFolder="$(OutputPath)%(RecursiveDir)" />
  89. <ItemGroup>
  90. <BadFiles Include="$(OutputPath)*.dll" />
  91. <BadFiles Include="$(OutputPath)*.pdb" Condition="'$(Configuration)'=='Release' Or '$(Configuration)'=='Verbose_Release'" />
  92. <BadFiles Include="$(OutputPath)IPA\*.pdb" Condition="'$(Configuration)'=='Release' Or '$(Configuration)'=='Verbose_Release'" />
  93. </ItemGroup>
  94. <Delete Files="@(BadFiles)" />
  95. <RemoveDir Directories="$(OutputPath)Libraries\" />
  96. </Target>
  97. </Project>