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.

129 lines
5.8 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
  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="System.Data" />
  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="AntiPiracy.cs" />
  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. <ProjectReference Include="..\Net3-Proxy\Net3-Proxy.csproj" Condition=" '$(Platform)' == 'Net3' ">
  79. <Project>{642F52DA-90F9-40E3-8784-6964F36752FB}</Project>
  80. <Name>Net3-Proxy</Name>
  81. </ProjectReference>
  82. </ItemGroup>
  83. <ItemGroup Condition=" '$(Platform)' == 'Net4' ">
  84. <Content Include="..\Libs\I18N.Net4.dll">
  85. <Link>Libraries\Mono\I18N.dll</Link>
  86. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  87. </Content>
  88. <Content Include="..\Libs\I18N.West.Net4.dll">
  89. <Link>Libraries\Mono\I18N.West.dll</Link>
  90. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  91. </Content>
  92. <Content Include="..\Libs\Microsoft.CSharp.dll">
  93. <Link>Libraries\Mono\Microsoft.CSharp.dll</Link>
  94. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  95. </Content>
  96. <Content Include="..\Libs\System.Runtime.Serialization.Net4.dll">
  97. <Link>Libraries\Mono\System.Runtime.Serialization.dll</Link>
  98. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  99. </Content>
  100. </ItemGroup>
  101. <ItemGroup Condition=" '$(Platform)' == 'Net3' ">
  102. <Content Include="..\Libs\I18N.Net3.dll">
  103. <Link>Libraries\Mono\I18N.dll</Link>
  104. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  105. </Content>
  106. <Content Include="..\Libs\I18N.West.Net3.dll">
  107. <Link>Libraries\Mono\I18N.West.dll</Link>
  108. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  109. </Content>
  110. <Content Include="..\Libs\System.Runtime.Serialization.Net3.dll">
  111. <Link>Libraries\Mono\System.Runtime.Serialization.dll</Link>
  112. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  113. </Content>
  114. </ItemGroup>
  115. <ItemGroup>
  116. <PackageReference Include="Mono.Cecil">
  117. <Version>0.10.4</Version>
  118. </PackageReference>
  119. <PackageReference Include="SemanticVersioning">
  120. <Version>1.2.2</Version>
  121. </PackageReference>
  122. <PackageReference Include="AsyncBridge">
  123. <Version>0.3.1</Version>
  124. </PackageReference>
  125. </ItemGroup>
  126. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  127. <Target Name="AfterBuild">
  128. <Exec Command="&quot;$(MSBuildBinPath)\MSBuild.exe&quot; &quot;$(MSBuildProjectDirectory)\PostBuild.msbuild&quot; /property:OPath=$(OutputPath) /property:Configuration=$(Configuration) /property:SolDir=$(SolutionDir)" />
  129. </Target>
  130. </Project>