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.

122 lines
5.4 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" 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)' == '' ">Net4</Platform>
  7. <ProjectGuid>{2A1AF16B-27F1-46E0-9A95-181516BC1CB7}</ProjectGuid>
  8. <OutputType>Library</OutputType>
  9. <AppDesignerFolder>Properties</AppDesignerFolder>
  10. <RootNamespace>IPA.Injector</RootNamespace>
  11. <AssemblyName>IPA.Injector</AssemblyName>
  12. <TargetFrameworks>net461;net35</TargetFrameworks>
  13. <FileAlignment>512</FileAlignment>
  14. <Deterministic>true</Deterministic>
  15. <PathMap>$(SolutionDir)=C:\</PathMap>
  16. <DebugType>portable</DebugType>
  17. </PropertyGroup>
  18. <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
  19. <DebugSymbols>true</DebugSymbols>
  20. <Optimize>false</Optimize>
  21. <OutputPath>bin\$(Platform)\Debug\</OutputPath>
  22. <DefineConstants>DEBUG;TRACE</DefineConstants>
  23. <ErrorReport>prompt</ErrorReport>
  24. <WarningLevel>4</WarningLevel>
  25. </PropertyGroup>
  26. <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
  27. <Optimize>true</Optimize>
  28. <OutputPath>bin\$(Platform)\Release\</OutputPath>
  29. <DefineConstants>TRACE</DefineConstants>
  30. <ErrorReport>prompt</ErrorReport>
  31. <WarningLevel>4</WarningLevel>
  32. </PropertyGroup>
  33. <PropertyGroup Condition=" '$(Platform)' == 'Net4' ">
  34. <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
  35. <DefineConstants>$(DefineConstants);NET4</DefineConstants>
  36. </PropertyGroup>
  37. <PropertyGroup Condition=" '$(Platform)' == 'Net3' ">
  38. <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
  39. <DefineConstants>$(DefineConstants);NET3</DefineConstants>
  40. </PropertyGroup>
  41. <ItemGroup>
  42. <Reference Include="System" />
  43. <Reference Include="System.Core" />
  44. <Reference Include="System.Xml.Linq" />
  45. <Reference Include="System.Data.DataSetExtensions" />
  46. <Reference Include="Microsoft.CSharp" Condition=" '$(Platform)' == 'Net4' " />
  47. <Reference Include="System.Data" />
  48. <Reference Include="System.Net.Http" Condition=" '$(Platform)' == 'Net4' " />
  49. <Reference Include="System.Xml" />
  50. <Reference Include="UnityEngine.CoreModule" Condition=" '$(Platform)' == 'Net4' ">
  51. <HintPath>..\Refs\UnityEngine.CoreModule.Net4.dll</HintPath>
  52. <Private>False</Private>
  53. </Reference>
  54. <Reference Include="UnityEngine.CoreModule" Condition=" '$(Platform)' == 'Net3' ">
  55. <HintPath>..\Refs\UnityEngine.CoreModule.Net3.dll</HintPath>
  56. <Private>False</Private>
  57. </Reference>
  58. </ItemGroup>
  59. <ItemGroup>
  60. <Compile Include="Backups\BackupManager.cs" />
  61. <Compile Include="Backups\BackupUnit.cs" />
  62. <Compile Include="Bootstrapper.cs" />
  63. <Compile Include="GameVersionEarly.cs" />
  64. <Compile Include="Injector.cs" />
  65. <Compile Include="PermissionFix.cs" />
  66. <Compile Include="Properties\AssemblyInfo.cs" />
  67. <Compile Include="Updates.cs" />
  68. <Compile Include="Virtualizer.cs" />
  69. </ItemGroup>
  70. <ItemGroup>
  71. <ProjectReference Include="..\IPA.Loader\IPA.Loader.csproj">
  72. <Project>{5ad344f0-01a0-4ca8-92e5-9d095737744d}</Project>
  73. <Name>IPA.Loader</Name>
  74. </ProjectReference>
  75. </ItemGroup>
  76. <ItemGroup Condition=" '$(Platform)' == 'Net4' " >
  77. <Content Include="..\Libs\I18N.Net4.dll">
  78. <Link>Libraries\Mono\I18N.dll</Link>
  79. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  80. </Content>
  81. <Content Include="..\Libs\I18N.West.Net4.dll">
  82. <Link>Libraries\Mono\I18N.West.dll</Link>
  83. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  84. </Content>
  85. <Content Include="..\Libs\Microsoft.CSharp.dll" >
  86. <Link>Libraries\Mono\Microsoft.CSharp.dll</Link>
  87. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  88. </Content>
  89. <Content Include="..\Libs\System.Runtime.Serialization.Net4.dll">
  90. <Link>Libraries\Mono\System.Runtime.Serialization.dll</Link>
  91. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  92. </Content>
  93. </ItemGroup>
  94. <ItemGroup Condition=" '$(Platform)' == 'Net3' " >
  95. <Content Include="..\Libs\I18N.Net3.dll">
  96. <Link>Libraries\Mono\I18N.dll</Link>
  97. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  98. </Content>
  99. <Content Include="..\Libs\I18N.West.Net3.dll">
  100. <Link>Libraries\Mono\I18N.West.dll</Link>
  101. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  102. </Content>
  103. <Content Include="..\Libs\System.Runtime.Serialization.Net3.dll">
  104. <Link>Libraries\Mono\System.Runtime.Serialization.dll</Link>
  105. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  106. </Content>
  107. </ItemGroup>
  108. <ItemGroup>
  109. <PackageReference Include="Lib.Harmony">
  110. <Version>1.2.0.1</Version>
  111. </PackageReference>
  112. <PackageReference Include="Mono.Cecil">
  113. <Version>0.10.4</Version>
  114. </PackageReference>
  115. <PackageReference Include="SemanticVersioning">
  116. <Version>1.2.0</Version>
  117. </PackageReference>
  118. </ItemGroup>
  119. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  120. <Target Name="AfterBuild">
  121. <Exec Command="&quot;$(MSBuildBinPath)\MSBuild.exe&quot; &quot;$(MSBuildProjectDirectory)\PostBuild.msbuild&quot; /property:OPath=$(OutputPath) /property:Configuration=$(Configuration) /property:SolDir=$(SolutionDir)" />
  122. </Target>
  123. </Project>