|
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="15.0" 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)' == '' ">Net4</Platform>
|
|
<ProjectGuid>{2A1AF16B-27F1-46E0-9A95-181516BC1CB7}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>IPA.Injector</RootNamespace>
|
|
<AssemblyName>IPA.Injector</AssemblyName>
|
|
<FileAlignment>512</FileAlignment>
|
|
<Deterministic>true</Deterministic>
|
|
<PathMap>$(SolutionDir)=C:\</PathMap>
|
|
<DebugType>portable</DebugType>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\$(Platform)\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\$(Platform)\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Platform)' == 'Net4' ">
|
|
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
|
<TargetFrameworks Condition=" '$(BuildingInsideVisualStudio)' != 'true' ">net461</TargetFrameworks>
|
|
<DefineConstants>$(DefineConstants);NET4</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Platform)' == 'Net3' ">
|
|
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
|
<TargetFrameworks Condition=" '$(BuildingInsideVisualStudio)' != 'true' ">net35</TargetFrameworks>
|
|
<DefineConstants>$(DefineConstants);NET3</DefineConstants>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Xml.Linq" />
|
|
<Reference Include="System.Data.DataSetExtensions" />
|
|
<Reference Include="Microsoft.CSharp" Condition=" '$(Platform)' == 'Net4' " />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Net.Http" Condition=" '$(Platform)' == 'Net4' " />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="UnityEngine.CoreModule" Condition=" '$(Platform)' == 'Net4' ">
|
|
<HintPath>..\Refs\UnityEngine.CoreModule.Net4.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="UnityEngine.CoreModule" Condition=" '$(Platform)' == 'Net3' ">
|
|
<HintPath>..\Refs\UnityEngine.CoreModule.Net3.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Backups\BackupManager.cs" />
|
|
<Compile Include="Backups\BackupUnit.cs" />
|
|
<Compile Include="Bootstrapper.cs" />
|
|
<Compile Include="GameVersionEarly.cs" />
|
|
<Compile Include="Injector.cs" />
|
|
<Compile Include="PermissionFix.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="Updates.cs" />
|
|
<Compile Include="Virtualizer.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\IPA.Loader\IPA.Loader.csproj">
|
|
<Project>{5ad344f0-01a0-4ca8-92e5-9d095737744d}</Project>
|
|
<Name>IPA.Loader</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup Condition=" '$(Platform)' == 'Net4' " >
|
|
<Content Include="..\Libs\I18N.Net4.dll">
|
|
<Link>Libraries\Mono\I18N.dll</Link>
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="..\Libs\I18N.West.Net4.dll">
|
|
<Link>Libraries\Mono\I18N.West.dll</Link>
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="..\Libs\Microsoft.CSharp.dll" >
|
|
<Link>Libraries\Mono\Microsoft.CSharp.dll</Link>
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="..\Libs\System.Runtime.Serialization.Net4.dll">
|
|
<Link>Libraries\Mono\System.Runtime.Serialization.dll</Link>
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
<ItemGroup Condition=" '$(Platform)' == 'Net3' " >
|
|
<Content Include="..\Libs\I18N.Net3.dll">
|
|
<Link>Libraries\Mono\I18N.dll</Link>
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="..\Libs\I18N.West.Net3.dll">
|
|
<Link>Libraries\Mono\I18N.West.dll</Link>
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="..\Libs\System.Runtime.Serialization.Net3.dll">
|
|
<Link>Libraries\Mono\System.Runtime.Serialization.dll</Link>
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Lib.Harmony">
|
|
<Version>1.2.0.1</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="Mono.Cecil">
|
|
<Version>0.10.4</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="SemanticVersioning">
|
|
<Version>1.2.0</Version>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<Target Name="AfterBuild">
|
|
<Exec Command=""$(MSBuildBinPath)\MSBuild.exe" "$(MSBuildProjectDirectory)\PostBuild.msbuild" /property:OPath=$(OutputPath) /property:Configuration=$(Configuration) /property:SolDir=$(SolutionDir)" />
|
|
</Target>
|
|
</Project>
|