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.

174 lines
7.2 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="14.0" DefaultTargets="Build" 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>{14092533-98BB-40A4-9AFC-27BB75672A70}</ProjectGuid>
  8. <OutputType>Exe</OutputType>
  9. <AppDesignerFolder>Properties</AppDesignerFolder>
  10. <RootNamespace>IPA</RootNamespace>
  11. <AssemblyName>IPA</AssemblyName>
  12. <TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
  13. <FileAlignment>512</FileAlignment>
  14. <TargetFrameworkProfile>
  15. </TargetFrameworkProfile>
  16. <PublishUrl>publish\</PublishUrl>
  17. <Install>true</Install>
  18. <InstallFrom>Disk</InstallFrom>
  19. <UpdateEnabled>false</UpdateEnabled>
  20. <UpdateMode>Foreground</UpdateMode>
  21. <UpdateInterval>7</UpdateInterval>
  22. <UpdateIntervalUnits>Days</UpdateIntervalUnits>
  23. <UpdatePeriodically>false</UpdatePeriodically>
  24. <UpdateRequired>false</UpdateRequired>
  25. <MapFileExtensions>true</MapFileExtensions>
  26. <ApplicationRevision>0</ApplicationRevision>
  27. <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
  28. <IsWebBootstrapper>false</IsWebBootstrapper>
  29. <UseApplicationTrust>false</UseApplicationTrust>
  30. <BootstrapperEnabled>true</BootstrapperEnabled>
  31. <Deterministic>true</Deterministic>
  32. <PathMap>$(SolutionDir)=C:\</PathMap>
  33. <ProxyConfig>$(Configuration)</ProxyConfig>
  34. <OtherConfig>
  35. </OtherConfig>
  36. </PropertyGroup>
  37. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  38. <PlatformTarget>AnyCPU</PlatformTarget>
  39. <DebugSymbols>true</DebugSymbols>
  40. <DebugType>full</DebugType>
  41. <Optimize>false</Optimize>
  42. <OutputPath>bin\Debug\</OutputPath>
  43. <DefineConstants>DEBUG;TRACE</DefineConstants>
  44. <ErrorReport>prompt</ErrorReport>
  45. <WarningLevel>4</WarningLevel>
  46. <Prefer32Bit>false</Prefer32Bit>
  47. <OtherConfig>Debug</OtherConfig>
  48. <ProxyConfig>Release</ProxyConfig>
  49. </PropertyGroup>
  50. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  51. <PlatformTarget>AnyCPU</PlatformTarget>
  52. <DebugType>none</DebugType>
  53. <Optimize>true</Optimize>
  54. <OutputPath>bin\Release\</OutputPath>
  55. <DefineConstants>TRACE</DefineConstants>
  56. <ErrorReport>prompt</ErrorReport>
  57. <WarningLevel>4</WarningLevel>
  58. <Prefer32Bit>false</Prefer32Bit>
  59. <UseVSHostingProcess>true</UseVSHostingProcess>
  60. <OtherConfig>Release</OtherConfig>
  61. </PropertyGroup>
  62. <PropertyGroup>
  63. <ApplicationIcon>favicon.ico</ApplicationIcon>
  64. </PropertyGroup>
  65. <PropertyGroup>
  66. <StartupObject>IPA.Program</StartupObject>
  67. </PropertyGroup>
  68. <PropertyGroup>
  69. <AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
  70. </PropertyGroup>
  71. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Verbose|AnyCPU'">
  72. <DebugSymbols>true</DebugSymbols>
  73. <OutputPath>bin\Verbose\</OutputPath>
  74. <DefineConstants>DEBUG;TRACE</DefineConstants>
  75. <DebugType>full</DebugType>
  76. <PlatformTarget>AnyCPU</PlatformTarget>
  77. <ErrorReport>prompt</ErrorReport>
  78. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  79. <OtherConfig>Debug</OtherConfig>
  80. <ProxyConfig>Verbose_Release</ProxyConfig>
  81. </PropertyGroup>
  82. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Verbose_Release|AnyCPU'">
  83. <OutputPath>bin\Verbose_Release\</OutputPath>
  84. <OtherConfig>Release</OtherConfig>
  85. </PropertyGroup>
  86. <ItemGroup>
  87. <Reference Include="System" />
  88. <Reference Include="System.Core" />
  89. <Reference Include="System.Windows.Forms" />
  90. <Reference Include="System.Xml.Linq" />
  91. <Reference Include="System.Data.DataSetExtensions" />
  92. <Reference Include="System.Data" />
  93. <Reference Include="System.Xml" />
  94. </ItemGroup>
  95. <ItemGroup>
  96. <ProjectReference Include="..\Doorstop\Proxy\Proxy.vcxproj">
  97. <Project>{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}</Project>
  98. <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
  99. <Private>False</Private>
  100. <Name>Doorstop</Name>
  101. </ProjectReference>
  102. <ProjectReference Include="..\IPA.Injector\IPA.Injector.csproj">
  103. <Project>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Project>
  104. <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
  105. <Private>False</Private>
  106. <Name>IPA.Injector</Name>
  107. </ProjectReference>
  108. </ItemGroup>
  109. <ItemGroup>
  110. <Compile Include="Arguments.cs" />
  111. <Compile Include="PatchContext.cs" />
  112. <Compile Include="Patcher\BackupManager.cs" />
  113. <Compile Include="Patcher\BackupUnit.cs" />
  114. <Compile Include="Patcher\Patcher.cs" />
  115. <Compile Include="Patcher\Virtualizer.cs" />
  116. <Compile Include="Program.cs" />
  117. <Compile Include="Properties\AssemblyInfo.cs" />
  118. <Compile Include="Shortcut.cs" />
  119. </ItemGroup>
  120. <ItemGroup>
  121. <None Include="app.config" />
  122. </ItemGroup>
  123. <ItemGroup>
  124. <Content Include="favicon.ico" />
  125. </ItemGroup>
  126. <ItemGroup>
  127. <Folder Include="IPA\Fallback\" />
  128. </ItemGroup>
  129. <ItemGroup>
  130. <PackageReference Include="Mono.Cecil">
  131. <Version>0.9.6.4</Version>
  132. </PackageReference>
  133. </ItemGroup>
  134. <ItemGroup>
  135. <BootstrapperPackage Include=".NETFramework,Version=v4.6.2">
  136. <Visible>False</Visible>
  137. <ProductName>Microsoft .NET Framework 4.6.2 %28x86 and x64%29</ProductName>
  138. <Install>true</Install>
  139. </BootstrapperPackage>
  140. <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
  141. <Visible>False</Visible>
  142. <ProductName>.NET Framework 3.5 SP1</ProductName>
  143. <Install>false</Install>
  144. </BootstrapperPackage>
  145. </ItemGroup>
  146. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  147. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  148. Other similar extension points exist, see Microsoft.Common.targets.
  149. <Target Name="BeforeBuild">
  150. </Target>
  151. <Target Name="AfterBuild">
  152. </Target>
  153. -->
  154. <Target Name="AfterBuild">
  155. <Message Text="Packing..." Importance="normal" />
  156. <ItemGroup>
  157. <Dlls Include="$(SolutionDir)IPA.Injector\bin\$(OtherConfig)\**\*" />
  158. <Dlls Include="$(SolutionDir)Doorstop\Proxy\bin\x64\$(ProxyConfig)\**\*.dll" />
  159. <Dlls Include="$(SolutionDir)Doorstop\Proxy\bin\x64\$(ProxyConfig)\**\*.pdb" />
  160. </ItemGroup>
  161. <Copy SourceFiles="@(Dlls)" DestinationFolder="$(OutputPath)IPA\%(RecursiveDir)" />
  162. <Move SourceFiles="$(OutputPath)IPA\proxy.dll" DestinationFiles="$(OutputPath)IPA\winhttp.dll" />
  163. <Move Condition="Exists('$(OutputPath)IPA\proxy.pdb')" SourceFiles="$(OutputPath)IPA\proxy.pdb" DestinationFiles="$(OutputPath)IPA\winhttp.pdb" />
  164. <ItemGroup>
  165. <BadFiles Include="$(OutputPath)*.dll" />
  166. <BadFiles Include="$(OutputPath)**\*.pdb" Condition="'$(Configuration)'=='Release' Or '$(Configuration)'=='Verbose_Release'" />
  167. <!-- Kill the Mono.Cecil stuff that get put in the root, don't want to dupe it -->
  168. </ItemGroup>
  169. <Delete Files="@(BadFiles)" />
  170. </Target>
  171. <PropertyGroup>
  172. <PostBuildEvent>
  173. </PostBuildEvent>
  174. </PropertyGroup>
  175. </Project>