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.

162 lines
6.7 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. </ItemGroup>
  97. <ItemGroup>
  98. <Compile Include="Arguments.cs" />
  99. <Compile Include="PatchContext.cs" />
  100. <Compile Include="Patcher\BackupManager.cs" />
  101. <Compile Include="Patcher\BackupUnit.cs" />
  102. <Compile Include="Patcher\Patcher.cs" />
  103. <Compile Include="Patcher\Virtualizer.cs" />
  104. <Compile Include="Program.cs" />
  105. <Compile Include="Properties\AssemblyInfo.cs" />
  106. <Compile Include="Shortcut.cs" />
  107. </ItemGroup>
  108. <ItemGroup>
  109. <None Include="app.config" />
  110. </ItemGroup>
  111. <ItemGroup>
  112. <Content Include="favicon.ico" />
  113. </ItemGroup>
  114. <ItemGroup>
  115. <Folder Include="IPA\Fallback\" />
  116. </ItemGroup>
  117. <ItemGroup>
  118. <PackageReference Include="Mono.Cecil">
  119. <Version>0.9.6.4</Version>
  120. </PackageReference>
  121. </ItemGroup>
  122. <ItemGroup>
  123. <BootstrapperPackage Include=".NETFramework,Version=v4.6.2">
  124. <Visible>False</Visible>
  125. <ProductName>Microsoft .NET Framework 4.6.2 %28x86 and x64%29</ProductName>
  126. <Install>true</Install>
  127. </BootstrapperPackage>
  128. <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
  129. <Visible>False</Visible>
  130. <ProductName>.NET Framework 3.5 SP1</ProductName>
  131. <Install>false</Install>
  132. </BootstrapperPackage>
  133. </ItemGroup>
  134. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  135. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  136. Other similar extension points exist, see Microsoft.Common.targets.
  137. <Target Name="BeforeBuild">
  138. </Target>
  139. <Target Name="AfterBuild">
  140. </Target>
  141. -->
  142. <Target Name="AfterBuild">
  143. <Message Text="Packing..." Importance="normal" />
  144. <ItemGroup>
  145. <Dlls Include="$(SolutionDir)IPA.Injector\bin\$(OtherConfig)\**\*" Exclude="$(SolutionDir)IPA.Injector\bin\$(OtherConfig)\Libraries\**\*" />
  146. <Dlls Include="$(SolutionDir)Doorstop\Proxy\bin\x64\$(ProxyConfig)\**\*.dll" />
  147. <Dlls Include="$(SolutionDir)Doorstop\Proxy\bin\x64\$(ProxyConfig)\**\*.pdb" />
  148. </ItemGroup>
  149. <Copy SourceFiles="@(Dlls)" DestinationFolder="$(OutputPath)IPA\%(RecursiveDir)" />
  150. <Move SourceFiles="$(OutputPath)IPA\proxy.dll" DestinationFiles="$(OutputPath)IPA\winhttp.dll" />
  151. <Move Condition="Exists('$(OutputPath)IPA\proxy.pdb')" SourceFiles="$(OutputPath)IPA\proxy.pdb" DestinationFiles="$(OutputPath)IPA\winhttp.pdb" />
  152. <ItemGroup>
  153. <BadFiles Include="$(OutputPath)*.dll" />
  154. <BadFiles Include="$(OutputPath)**\*.pdb" Condition="'$(Configuration)'=='Release' Or '$(Configuration)'=='Verbose_Release'" />
  155. <!-- Kill the Mono.Cecil stuff that get put in the root, don't want to dupe it -->
  156. </ItemGroup>
  157. <Delete Files="@(BadFiles)" />
  158. </Target>
  159. <PropertyGroup>
  160. <PostBuildEvent>
  161. </PostBuildEvent>
  162. </PropertyGroup>
  163. </Project>