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.

67 lines
2.8 KiB

  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFrameworks>net461;net35</TargetFrameworks>
  4. <RootNamespace>IPA</RootNamespace>
  5. <!--<PathMap>$(SolutionDir)=C:\</PathMap>-->
  6. <DebugType>portable</DebugType>
  7. <LangVersion>8.0</LangVersion>
  8. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  9. <NoWarn>CA1031</NoWarn>
  10. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  11. <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  12. <BuildForBeatSaber Condition=" '$(BuildForBeatSaber)' == '' And '$(TargetFramework)' == 'net461' ">true</BuildForBeatSaber>
  13. </PropertyGroup>
  14. <PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
  15. <DefineConstants>$(DefineConstants);NET4</DefineConstants>
  16. </PropertyGroup>
  17. <PropertyGroup Condition="'$(TargetFramework)' == 'net35'">
  18. <DefineConstants>$(DefineConstants);NET3</DefineConstants>
  19. </PropertyGroup>
  20. <PropertyGroup Condition="'$(BuildForBeatSaber)' == 'true'">
  21. <DefineConstants>$(DefineConstants);BeatSaber</DefineConstants>
  22. </PropertyGroup>
  23. <ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
  24. <Reference Include="UnityEngine.CoreModule">
  25. <HintPath>..\Refs\UnityEngine.CoreModule.Net4.dll</HintPath>
  26. <Private>False</Private>
  27. </Reference>
  28. <Reference Include="UnityEngine.UnityWebRequestModule">
  29. <HintPath>..\Refs\UnityEngine.UnityWebRequestModule.Net4.dll</HintPath>
  30. <Private>False</Private>
  31. </Reference>
  32. </ItemGroup>
  33. <ItemGroup Condition=" '$(TargetFramework)' == 'net35' ">
  34. <Reference Include="UnityEngine.CoreModule">
  35. <HintPath>..\Refs\UnityEngine.CoreModule.Net3.dll</HintPath>
  36. <Private>False</Private>
  37. </Reference>
  38. <Reference Include="UnityEngine.UnityWebRequestModule">
  39. <HintPath>..\Refs\UnityEngine.UnityWebRequestModule.Net3.dll</HintPath>
  40. <Private>False</Private>
  41. </Reference>
  42. </ItemGroup>
  43. <ItemGroup>
  44. <ProjectReference Include="..\Net3-Proxy\Net3-Proxy.csproj" Condition=" '$(TargetFramework)' == 'net35' " />
  45. </ItemGroup>
  46. <ItemGroup>
  47. <PackageReference Include="Ionic.Zip" Version="1.9.1.8" />
  48. <PackageReference Include="Lib.Harmony" Version="2.0.0.7" />
  49. <PackageReference Include="Mono.Cecil" Version="0.10.4" />
  50. <PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
  51. <PackageReference Include="Portable.System.ValueTuple" Version="1.0.1" />
  52. <PackageReference Include="SemanticVersioning" Version="1.2.2" />
  53. <PackageReference Include="AsyncBridge" Version="0.3.1" />
  54. </ItemGroup>
  55. <ItemGroup>
  56. <EmbeddedResource Include="Loader\manifest.json" />
  57. <EmbeddedResource Include="icon_white.png" />
  58. <EmbeddedResource Include="Loader\description.md" />
  59. </ItemGroup>
  60. </Project>