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.

161 lines
6.8 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.1</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. <ProxyConfig>Verbose_Release</ProxyConfig>
  86. </PropertyGroup>
  87. <ItemGroup>
  88. <Reference Include="System" />
  89. <Reference Include="System.Core" />
  90. <Reference Include="System.Windows.Forms" />
  91. <Reference Include="System.Xml.Linq" />
  92. <Reference Include="System.Data.DataSetExtensions" />
  93. <Reference Include="System.Data" />
  94. <Reference Include="System.Xml" />
  95. </ItemGroup>
  96. <ItemGroup>
  97. <Folder Include="IPA\Fallback\" />
  98. </ItemGroup>
  99. <ItemGroup>
  100. <Compile Include="Arguments.cs" />
  101. <Compile Include="PatchContext.cs" />
  102. <Compile Include="Patcher\BackupManager.cs" />
  103. <Compile Include="Patcher\BackupUnit.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. <ItemGroup>
  116. <PackageReference Include="Mono.Cecil">
  117. <Version>0.10.3</Version>
  118. </PackageReference>
  119. </ItemGroup>
  120. <ItemGroup>
  121. <BootstrapperPackage Include=".NETFramework,Version=v4.6.2">
  122. <Visible>False</Visible>
  123. <ProductName>Microsoft .NET Framework 4.6.2 %28x86 and x64%29</ProductName>
  124. <Install>true</Install>
  125. </BootstrapperPackage>
  126. <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
  127. <Visible>False</Visible>
  128. <ProductName>.NET Framework 3.5 SP1</ProductName>
  129. <Install>false</Install>
  130. </BootstrapperPackage>
  131. </ItemGroup>
  132. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  133. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  134. Other similar extension points exist, see Microsoft.Common.targets.
  135. <Target Name="BeforeBuild">
  136. </Target>
  137. <Target Name="AfterBuild">
  138. </Target>
  139. -->
  140. <Target Name="AfterBuild">
  141. <Message Text="Packing..." Importance="normal" />
  142. <ItemGroup>
  143. <Dlls Include="$(SolutionDir)IPA.Injector\bin\$(OtherConfig)\**\*" Exclude="$(SolutionDir)IPA.Injector\bin\$(OtherConfig)\Libraries\**\*" />
  144. <Dlls Include="$(SolutionDir)Doorstop\Proxy\bin\x64\$(ProxyConfig)\**\*.dll" />
  145. <Dlls Include="$(SolutionDir)Doorstop\Proxy\bin\x64\$(ProxyConfig)\**\*.pdb" />
  146. </ItemGroup>
  147. <Copy SourceFiles="@(Dlls)" DestinationFolder="$(OutputPath)IPA\%(RecursiveDir)" />
  148. <Move SourceFiles="$(OutputPath)IPA\proxy.dll" DestinationFiles="$(OutputPath)IPA\winhttp.dll" />
  149. <Move Condition="Exists('$(OutputPath)IPA\proxy.pdb')" SourceFiles="$(OutputPath)IPA\proxy.pdb" DestinationFiles="$(OutputPath)IPA\winhttp.pdb" />
  150. <ItemGroup>
  151. <BadFiles Include="$(OutputPath)*.dll" />
  152. <BadFiles Include="$(OutputPath)*.pdb" Condition="'$(Configuration)'=='Release' Or '$(Configuration)'=='Verbose_Release'" />
  153. <BadFiles Include="$(OutputPath)IPA\*.pdb" Condition="'$(Configuration)'=='Release' Or '$(Configuration)'=='Verbose_Release'" />
  154. </ItemGroup>
  155. <Delete Files="@(BadFiles)" />
  156. <RemoveDir Directories="$(OutputPath)Libraries\" />
  157. </Target>
  158. <PropertyGroup>
  159. <PostBuildEvent>
  160. </PostBuildEvent>
  161. </PropertyGroup>
  162. </Project>