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.

132 lines
6.0 KiB

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