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.

128 lines
5.0 KiB

6 years ago
  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. </PropertyGroup>
  32. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  33. <PlatformTarget>AnyCPU</PlatformTarget>
  34. <DebugSymbols>true</DebugSymbols>
  35. <DebugType>full</DebugType>
  36. <Optimize>false</Optimize>
  37. <OutputPath>bin\Debug\</OutputPath>
  38. <DefineConstants>DEBUG;TRACE</DefineConstants>
  39. <ErrorReport>prompt</ErrorReport>
  40. <WarningLevel>4</WarningLevel>
  41. <Prefer32Bit>false</Prefer32Bit>
  42. </PropertyGroup>
  43. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  44. <PlatformTarget>AnyCPU</PlatformTarget>
  45. <DebugType>none</DebugType>
  46. <Optimize>true</Optimize>
  47. <OutputPath>bin\Release\</OutputPath>
  48. <DefineConstants>TRACE</DefineConstants>
  49. <ErrorReport>prompt</ErrorReport>
  50. <WarningLevel>4</WarningLevel>
  51. <Prefer32Bit>false</Prefer32Bit>
  52. <UseVSHostingProcess>true</UseVSHostingProcess>
  53. </PropertyGroup>
  54. <PropertyGroup>
  55. <ApplicationIcon>favicon.ico</ApplicationIcon>
  56. </PropertyGroup>
  57. <PropertyGroup>
  58. <StartupObject>IPA.Program</StartupObject>
  59. </PropertyGroup>
  60. <ItemGroup>
  61. <Reference Include="System" />
  62. <Reference Include="System.Core" />
  63. <Reference Include="System.Windows.Forms" />
  64. <Reference Include="System.Xml.Linq" />
  65. <Reference Include="System.Data.DataSetExtensions" />
  66. <Reference Include="System.Data" />
  67. <Reference Include="System.Xml" />
  68. </ItemGroup>
  69. <ItemGroup>
  70. <Compile Include="Arguments.cs" />
  71. <Compile Include="PatchContext.cs" />
  72. <Compile Include="Patcher\BackupManager.cs" />
  73. <Compile Include="Patcher\BackupUnit.cs" />
  74. <Compile Include="Patcher\Patcher.cs" />
  75. <Compile Include="Patcher\Virtualizer.cs" />
  76. <Compile Include="Program.cs" />
  77. <Compile Include="Properties\AssemblyInfo.cs" />
  78. <Compile Include="Shortcut.cs" />
  79. </ItemGroup>
  80. <ItemGroup>
  81. <None Include="app.config" />
  82. </ItemGroup>
  83. <ItemGroup>
  84. <Content Include="favicon.ico" />
  85. </ItemGroup>
  86. <ItemGroup>
  87. <Folder Include="IPA\Fallback\" />
  88. </ItemGroup>
  89. <ItemGroup>
  90. <PackageReference Include="Mono.Cecil">
  91. <Version>0.9.6.4</Version>
  92. </PackageReference>
  93. </ItemGroup>
  94. <ItemGroup>
  95. <BootstrapperPackage Include=".NETFramework,Version=v4.6.2">
  96. <Visible>False</Visible>
  97. <ProductName>Microsoft .NET Framework 4.6.2 %28x86 and x64%29</ProductName>
  98. <Install>true</Install>
  99. </BootstrapperPackage>
  100. <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
  101. <Visible>False</Visible>
  102. <ProductName>.NET Framework 3.5 SP1</ProductName>
  103. <Install>false</Install>
  104. </BootstrapperPackage>
  105. </ItemGroup>
  106. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  107. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  108. Other similar extension points exist, see Microsoft.Common.targets.
  109. <Target Name="BeforeBuild">
  110. </Target>
  111. <Target Name="AfterBuild">
  112. </Target>
  113. -->
  114. <Target Name="AfterBuild">
  115. <Message Text="Packing..." Importance="normal" />
  116. <ItemGroup>
  117. <Dlls Include="$(SolutionDir)IPA.Injector\$(OutDir)**\*" />
  118. </ItemGroup>
  119. <Copy SourceFiles="@(Dlls)" DestinationFolder="$(OutputPath)IPA\%(RecursiveDir)" />
  120. <ItemGroup>
  121. <BadDlls Include="$(OutputPath)Mono.Cecil.*" /> <!-- Kill the Mono.Cecil stuff that get put in the root, don't want to dupe it -->
  122. </ItemGroup>
  123. <Delete Files="@(BadDlls)" />
  124. </Target>
  125. <PropertyGroup>
  126. <PostBuildEvent>
  127. </PostBuildEvent>
  128. </PropertyGroup>
  129. </Project>