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.

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