A fork of Eusth's IPA
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.

74 lines
3.0KB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project Sdk="Microsoft.NET.Sdk" 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. <TargetFramework>net472</TargetFramework>
  13. <FileAlignment>512</FileAlignment>
  14. <TargetFrameworkProfile />
  15. </PropertyGroup>
  16. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  17. <PlatformTarget>AnyCPU</PlatformTarget>
  18. <DebugSymbols>true</DebugSymbols>
  19. <DebugType>full</DebugType>
  20. <Optimize>false</Optimize>
  21. <OutputPath>bin\Debug\</OutputPath>
  22. <DefineConstants>DEBUG;TRACE</DefineConstants>
  23. <ErrorReport>prompt</ErrorReport>
  24. <WarningLevel>4</WarningLevel>
  25. </PropertyGroup>
  26. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  27. <PlatformTarget>AnyCPU</PlatformTarget>
  28. <DebugType>none</DebugType>
  29. <Optimize>true</Optimize>
  30. <OutputPath>bin\Release\</OutputPath>
  31. <DefineConstants>TRACE</DefineConstants>
  32. <ErrorReport>prompt</ErrorReport>
  33. <WarningLevel>4</WarningLevel>
  34. </PropertyGroup>
  35. <PropertyGroup>
  36. <ApplicationIcon>favicon.ico</ApplicationIcon>
  37. </PropertyGroup>
  38. <ItemGroup>
  39. <PackageReference Include="Mono.Cecil" Version="0.11.2" />
  40. </ItemGroup>
  41. <ItemGroup>
  42. <None Include="packages.config" />
  43. <None Remove="Properties\**" />
  44. </ItemGroup>
  45. <ItemGroup>
  46. <Content Include="favicon.ico" />
  47. </ItemGroup>
  48. <ItemGroup>
  49. <Folder Include="IPA\Fallback\" />
  50. </ItemGroup>
  51. <ItemGroup>
  52. <Compile Remove="Properties\**" />
  53. </ItemGroup>
  54. <ItemGroup>
  55. <EmbeddedResource Remove="Properties\**" />
  56. </ItemGroup>
  57. <!--<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />-->
  58. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  59. Other similar extension points exist, see Microsoft.Common.targets.
  60. <Target Name="BeforeBuild">
  61. </Target>
  62. <Target Name="AfterBuild">
  63. </Target>
  64. -->
  65. <Target Name="Custom1AfterBuild" AfterTargets="Build">
  66. <Message Text="Packing..." Importance="normal" />
  67. <ItemGroup>
  68. <Launcher Include="$(SolutionDir)Launcher\$(OutDir)Launcher.exe" />
  69. <Dlls Include="$(SolutionDir)IllusionInjector\$(OutDir)**\*" />
  70. </ItemGroup>
  71. <Copy SourceFiles="@(Dlls)" DestinationFolder="$(OutputPath)IPA\Data\Managed" />
  72. <Copy SourceFiles="@(Launcher)" DestinationFolder="$(OutputPath)IPA" />
  73. </Target>
  74. </Project>