|
|
- <?xml version="1.0" encoding="utf-8"?>
- <Project DefaultTargets="Assemble" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug_Net3</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProjectGuid>{6B5B2727-C35C-4813-BC80-D206C58AB029}</ProjectGuid>
- <OutputType>Library</OutputType>
- <RootNamespace>BSIPA_Net3_Meta</RootNamespace>
- <AssemblyName>Net3 Meta Project</AssemblyName>
- <TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
- <Deterministic>true</Deterministic>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Platform)' == 'x86' ">
- <ProxyPlatform>Win32</ProxyPlatform>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Platform)' == 'x64' ">
- <ProxyPlatform>x64</ProxyPlatform>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)' == 'Debug_Net3' ">
- <PlatformTarget>AnyCPU</PlatformTarget>
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug_Net3\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <OtherConfig>Debug</OtherConfig>
- <ProxyConfig>Release</ProxyConfig>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)' == 'Release_Net3' ">
- <PlatformTarget>AnyCPU</PlatformTarget>
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release_Net3\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <OtherConfig>Release</OtherConfig>
- <ProxyConfig>Release</ProxyConfig>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)' == 'Verbose_Net3' ">
- <PlatformTarget>AnyCPU</PlatformTarget>
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Verbose_Net3\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <OtherConfig>Verbose</OtherConfig>
- <ProxyConfig>Verbose_Release</ProxyConfig>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)' == 'Verbose_Release_Net3' ">
- <PlatformTarget>AnyCPU</PlatformTarget>
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Verbose_Release_Net3\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <OtherConfig>Verbose_Release</OtherConfig>
- <ProxyConfig>Verbose_Release</ProxyConfig>
- </PropertyGroup>
- <Target Name="Restore" />
- <Target Name="Clean">
- <ItemGroup>
- <Files Include="$(OutputPath)**\*" />
- </ItemGroup>
- <Delete Files="@(Files)" />
- </Target>
- <Target Name="Rebuild">
- <CallTarget Targets="Assemble" />
- </Target>
- <Target Name="Build">
- <CallTarget Targets="Assemble" />
- </Target>
- <Target Name="Assemble" Returns="$(OutputPath)">
- <Message Text="Packing..." Importance="High" />
- <Message Text="Results will be put in $(OutputPath)" Importance="High" />
- <ItemGroup>
- <InputDlls Include="$(SolutionDir)IPA.Injector\bin3\$(OtherConfig)\**\*" Exclude="$(SolutionDir)IPA.Injector\bin3\$(OtherConfig)\Libraries\**\*" />
- <InputDlls Include="$(SolutionDir)Doorstop\Proxy\bin\$(ProxyPlatform)\$(ProxyConfig)\**\*.dll" />
- <InputDlls Include="$(SolutionDir)Doorstop\Proxy\bin\$(ProxyPlatform)\$(ProxyConfig)\**\*.pdb" />
- <InputIPAFiles Include="$(SolutionDir)IPA\bin\$(OtherConfig)\**\*" />
- </ItemGroup>
- <Copy SourceFiles="@(InputDlls)" DestinationFolder="$(OutputPath)IPA\%(RecursiveDir)" />
- <Move SourceFiles="$(OutputPath)IPA\proxy.dll" DestinationFiles="$(OutputPath)IPA\winhttp.dll" />
- <Move Condition="Exists('$(OutputPath)IPA\proxy.pdb')" SourceFiles="$(OutputPath)IPA\proxy.pdb" DestinationFiles="$(OutputPath)IPA\winhttp.pdb" />
- <Copy SourceFiles="@(InputIPAFiles)" DestinationFolder="$(OutputPath)%(RecursiveDir)" />
- <ItemGroup>
- <BadFiles Include="$(OutputPath)*.dll" />
- <BadFiles Include="$(OutputPath)*.pdb" Condition="'$(Configuration)'=='Release_Net3' Or '$(Configuration)'=='Verbose_Release_Net3'" />
- <BadFiles Include="$(OutputPath)IPA\*.pdb" Condition="'$(Configuration)'=='Release_Net4' Or '$(Configuration)'=='Verbose_Release_Net3'" />
- </ItemGroup>
- <Delete Files="@(BadFiles)" />
- <RemoveDir Directories="$(OutputPath)Libraries\" />
- </Target>
- </Project>
|