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.

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