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.

98 lines
4.3 KiB

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