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.7 KiB

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