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.

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