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.

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