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.

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