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.5 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. <OtherConfig></OtherConfig>
  32. </PropertyGroup>
  33. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  34. <PlatformTarget>AnyCPU</PlatformTarget>
  35. <DebugSymbols>true</DebugSymbols>
  36. <DebugType>full</DebugType>
  37. <Optimize>false</Optimize>
  38. <OutputPath>bin\Debug\</OutputPath>
  39. <DefineConstants>DEBUG;TRACE</DefineConstants>
  40. <ErrorReport>prompt</ErrorReport>
  41. <WarningLevel>4</WarningLevel>
  42. <Prefer32Bit>false</Prefer32Bit>
  43. <OtherConfig>Debug</OtherConfig>
  44. </PropertyGroup>
  45. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  46. <PlatformTarget>AnyCPU</PlatformTarget>
  47. <DebugType>none</DebugType>
  48. <Optimize>true</Optimize>
  49. <OutputPath>bin\Release\</OutputPath>
  50. <DefineConstants>TRACE</DefineConstants>
  51. <ErrorReport>prompt</ErrorReport>
  52. <WarningLevel>4</WarningLevel>
  53. <Prefer32Bit>false</Prefer32Bit>
  54. <UseVSHostingProcess>true</UseVSHostingProcess>
  55. <OtherConfig>Release</OtherConfig>
  56. </PropertyGroup>
  57. <PropertyGroup>
  58. <ApplicationIcon>favicon.ico</ApplicationIcon>
  59. </PropertyGroup>
  60. <PropertyGroup>
  61. <StartupObject>IPA.Program</StartupObject>
  62. </PropertyGroup>
  63. <PropertyGroup>
  64. <AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
  65. </PropertyGroup>
  66. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Verbose|AnyCPU'">
  67. <DebugSymbols>true</DebugSymbols>
  68. <OutputPath>bin\Verbose\</OutputPath>
  69. <DefineConstants>DEBUG;TRACE</DefineConstants>
  70. <DebugType>full</DebugType>
  71. <PlatformTarget>AnyCPU</PlatformTarget>
  72. <ErrorReport>prompt</ErrorReport>
  73. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  74. <OtherConfig>Debug</OtherConfig>
  75. </PropertyGroup>
  76. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Verbose_Release|AnyCPU'">
  77. <OutputPath>bin\Verbose_Release\</OutputPath>
  78. <OtherConfig>Release</OtherConfig>
  79. </PropertyGroup>
  80. <ItemGroup>
  81. <Reference Include="System" />
  82. <Reference Include="System.Core" />
  83. <Reference Include="System.Windows.Forms" />
  84. <Reference Include="System.Xml.Linq" />
  85. <Reference Include="System.Data.DataSetExtensions" />
  86. <Reference Include="System.Data" />
  87. <Reference Include="System.Xml" />
  88. </ItemGroup>
  89. <ItemGroup>
  90. <Compile Include="Arguments.cs" />
  91. <Compile Include="PatchContext.cs" />
  92. <Compile Include="Patcher\BackupManager.cs" />
  93. <Compile Include="Patcher\BackupUnit.cs" />
  94. <Compile Include="Patcher\Patcher.cs" />
  95. <Compile Include="Patcher\Virtualizer.cs" />
  96. <Compile Include="Program.cs" />
  97. <Compile Include="Properties\AssemblyInfo.cs" />
  98. <Compile Include="Shortcut.cs" />
  99. </ItemGroup>
  100. <ItemGroup>
  101. <None Include="app.config" />
  102. </ItemGroup>
  103. <ItemGroup>
  104. <Content Include="favicon.ico" />
  105. </ItemGroup>
  106. <ItemGroup>
  107. <Folder Include="IPA\Fallback\" />
  108. </ItemGroup>
  109. <ItemGroup>
  110. <PackageReference Include="Mono.Cecil">
  111. <Version>0.9.6.4</Version>
  112. </PackageReference>
  113. </ItemGroup>
  114. <ItemGroup>
  115. <BootstrapperPackage Include=".NETFramework,Version=v4.6.2">
  116. <Visible>False</Visible>
  117. <ProductName>Microsoft .NET Framework 4.6.2 %28x86 and x64%29</ProductName>
  118. <Install>true</Install>
  119. </BootstrapperPackage>
  120. <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
  121. <Visible>False</Visible>
  122. <ProductName>.NET Framework 3.5 SP1</ProductName>
  123. <Install>false</Install>
  124. </BootstrapperPackage>
  125. </ItemGroup>
  126. <ItemGroup>
  127. <!--<ProjectsToBuild Include="$(SolutionDir)Doorstop\Proxy\Proxy.vcxproj">
  128. <DestDir>bin\Proxy\$(Configuration)</DestDir>
  129. </ProjectsToBuild>-->
  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)\**\*" />
  143. <Dlls Include="$(SolutionDir)Doorstop\Proxy\bin\x64\$(Configuration)\**\*.dll" />
  144. <Dlls Include="$(SolutionDir)Doorstop\Proxy\bin\x64\$(Configuration)\**\*.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. <BadDlls Include="$(OutputPath)Mono.Cecil.*" />
  151. <!-- Kill the Mono.Cecil stuff that get put in the root, don't want to dupe it -->
  152. </ItemGroup>
  153. <Delete Files="@(BadDlls)" />
  154. </Target>
  155. <PropertyGroup>
  156. <PostBuildEvent>
  157. </PostBuildEvent>
  158. </PropertyGroup>
  159. </Project>