|
- <?xml version="1.0" encoding="utf-8"?>
- <Project Sdk="Microsoft.NET.Sdk" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <!--<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />-->
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProjectGuid>{14092533-98BB-40A4-9AFC-27BB75672A70}</ProjectGuid>
- <OutputType>Exe</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>IPA</RootNamespace>
- <AssemblyName>IPA</AssemblyName>
- <TargetFramework>net472</TargetFramework>
- <FileAlignment>512</FileAlignment>
- <TargetFrameworkProfile />
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <PlatformTarget>AnyCPU</PlatformTarget>
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <PlatformTarget>AnyCPU</PlatformTarget>
- <DebugType>none</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup>
- <ApplicationIcon>favicon.ico</ApplicationIcon>
- </PropertyGroup>
- <ItemGroup>
- <PackageReference Include="Mono.Cecil" Version="0.11.2" />
- </ItemGroup>
- <ItemGroup>
- <None Include="packages.config" />
- <None Remove="Properties\**" />
- </ItemGroup>
- <ItemGroup>
- <Content Include="favicon.ico" />
- </ItemGroup>
- <ItemGroup>
- <Folder Include="IPA\Fallback\" />
- </ItemGroup>
- <ItemGroup>
- <Compile Remove="Properties\**" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Remove="Properties\**" />
- </ItemGroup>
- <!--<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />-->
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
- <Target Name="Custom1AfterBuild" AfterTargets="Build">
- <Message Text="Packing..." Importance="normal" />
- <ItemGroup>
- <Launcher Include="$(SolutionDir)Launcher\$(OutDir)Launcher.exe" />
- <Dlls Include="$(SolutionDir)IllusionInjector\$(OutDir)**\*" />
- </ItemGroup>
- <Copy SourceFiles="@(Dlls)" DestinationFolder="$(OutputPath)IPA\Data\Managed" />
- <Copy SourceFiles="@(Launcher)" DestinationFolder="$(OutputPath)IPA" />
- </Target>
- </Project>
|