quantum-space-buddies/QSB/QSB.csproj

80 lines
4.6 KiB
XML
Raw Normal View History

2021-11-27 01:28:22 +00:00
<Project Sdk="Microsoft.NET.Sdk">
2021-11-20 19:49:50 +00:00
<PropertyGroup>
2021-11-27 01:28:22 +00:00
<AssemblyTitle>Quantum Space Buddies</AssemblyTitle>
<Description>Multiplayer mod for Outer Wilds</Description>
<Product>Quantum Space Buddies</Product>
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
2020-02-10 22:03:28 +00:00
<ProjectGuid>{1F00090A-C697-4C55-B401-192F3CFB9DC2}</ProjectGuid>
2022-02-11 01:46:46 +00:00
<OutputPath Condition="Exists('$(OwmlDir)')">$(OwmlDir)\Mods\QSB</OutputPath>
2022-02-03 08:18:13 +00:00
<NoWarn>CS1998;CS0649</NoWarn>
2020-02-10 22:03:28 +00:00
</PropertyGroup>
2022-02-11 07:10:21 +00:00
<Target Name="clean before building" BeforeTargets="PreBuildEvent">
<Exec Command="del /f /q &quot;$(OutputPath)\*.dll&quot;" IgnoreExitCode="true" />
<Exec Command="del /f /q &quot;$(OutputPath)\*.exe&quot;" IgnoreExitCode="true" />
<Exec Command="del /f /q &quot;$(OutputPath)\*.pdb&quot;" IgnoreExitCode="true" />
<Exec Command="del /f /q &quot;$(OutputPath)\AssetBundles\*&quot;" IgnoreExitCode="true" />
2022-02-11 07:10:21 +00:00
</Target>
2022-02-11 13:04:56 +00:00
<PropertyGroup>
<GameDllsDir Condition="Exists('$(GameDir)')">$(GameDir)\OuterWilds_Data\Managed</GameDllsDir>
<UnityDllsDir Condition="Exists('$(UnityAssetsDir)')">$(UnityAssetsDir)\Dlls</UnityDllsDir>
</PropertyGroup>
2022-02-11 05:49:06 +00:00
<Target Name="remove dumb files" AfterTargets="PostBuildEvent">
2022-02-11 07:10:21 +00:00
<Exec Command="del /f /q &quot;$(OutputPath)\*.exe.config&quot;" />
</Target>
<Target Name="weave qsb" AfterTargets="PostBuildEvent">
<Exec Command="&quot;..\MirrorWeaver\bin\$(Configuration)\MirrorWeaver&quot; &quot;$(TargetPath)&quot; ..\GameDlls" />
</Target>
2022-02-11 13:04:56 +00:00
<Target Name="copy dlls to unity" AfterTargets="PostBuildEvent" Condition="Exists('$(UnityDllsDir)') and Exists('$(GameDllsDir)')">
2022-02-11 07:10:21 +00:00
<Exec Command="del /f /q &quot;$(UnityDllsDir)\*.dll&quot;" />
<Exec Command="del /f /q &quot;$(UnityDllsDir)\*.exe&quot;" />
<Exec Command="del /f /q &quot;$(UnityDllsDir)\*.pdb&quot;" />
<Exec Command="copy /y &quot;$(OutputPath)\*.dll&quot; &quot;$(UnityDllsDir)&quot;" />
<Exec Command="copy /y &quot;$(OutputPath)\*.exe&quot; &quot;$(UnityDllsDir)&quot;" />
2022-02-19 17:09:48 +00:00
<Exec Command="copy /y &quot;$(OutputPath)\*.pdb&quot; &quot;$(UnityDllsDir)&quot;" IgnoreExitCode="true" />
<Exec Command="copy /y &quot;$(GameDllsDir)\Assembly-CSharp*.dll&quot; &quot;$(UnityDllsDir)&quot;" />
<Exec Command="copy /y &quot;$(GameDllsDir)\Unity.InputSystem.dll&quot; &quot;$(UnityDllsDir)&quot;" />
<Exec Command="copy /y &quot;$(GameDllsDir)\UnityEngine.UI.dll&quot; &quot;$(UnityDllsDir)&quot;" />
<Exec Command="copy /y &quot;$(GameDllsDir)\EOS-SDK.dll&quot; &quot;$(UnityDllsDir)&quot;" />
<Exec Command="copy /y &quot;$(GameDllsDir)\UniSense.dll&quot; &quot;$(UnityDllsDir)&quot;" />
<Exec Command="copy /y &quot;$(GameDllsDir)\Autofac.dll&quot; &quot;$(UnityDllsDir)&quot;" />
<Exec Command="copy /y &quot;$(GameDllsDir)\Newtonsoft.Json.dll&quot; &quot;$(UnityDllsDir)&quot;" />
<Exec Command="copy /y &quot;$(GameDllsDir)\0Harmony.dll&quot; &quot;$(UnityDllsDir)&quot;" />
<Exec Command="copy /y &quot;$(GameDllsDir)\MonoMod*.dll&quot; &quot;$(UnityDllsDir)&quot;" />
<Exec Command="copy /y &quot;$(GameDllsDir)\Mono.Cecil.dll&quot; &quot;$(UnityDllsDir)&quot;" />
<Exec Command="copy /y &quot;$(GameDllsDir)\OWML*.dll&quot; &quot;$(UnityDllsDir)&quot;" />
<Exec Command="copy /y &quot;$(GameDllsDir)\NAudio-Unity.dll&quot; &quot;$(UnityDllsDir)&quot;" />
</Target>
2020-02-10 22:03:28 +00:00
<ItemGroup>
<None Include="default-config.json">
2022-02-03 06:02:10 +00:00
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="manifest.json">
2022-02-03 06:02:10 +00:00
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
2022-02-11 02:34:47 +00:00
<None Include="AssetBundles\*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
2022-02-11 05:49:06 +00:00
<None Remove="AssetBundles\AssetBundles" />
<None Remove="AssetBundles\*.manifest" />
<None Condition="Exists('debugsettings.json')" Include="debugsettings.json">
2022-02-11 02:34:47 +00:00
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
2021-10-12 15:56:07 +00:00
</ItemGroup>
<ItemGroup>
2022-02-04 14:33:49 +00:00
<PackageReference Include="OuterWildsGameLibs" Version="1.1.12.168" IncludeAssets="compile" />
2022-01-16 05:32:27 +00:00
<Reference Include="..\Mirror\*.dll" />
2022-01-29 02:37:28 +00:00
<Reference Include="..\UniTask\*.dll" />
<Reference Include="..\ProxyScripts\*.dll" />
2022-02-06 02:52:24 +00:00
<ProjectReference Include="..\EpicOnlineTransport\EpicOnlineTransport.csproj" />
2022-02-07 05:38:14 +00:00
<ProjectReference Include="..\EpicRerouter\EpicRerouter.csproj" />
<ProjectReference Include="..\MirrorWeaver\MirrorWeaver.csproj" ReferenceOutputAssembly="false" />
<PackageReference Include="HarmonyX" Version="2.9.0" IncludeAssets="compile" />
<PackageReference Include="OWML" Version="2.3.2" IncludeAssets="compile" />
2021-11-27 01:28:22 +00:00
</ItemGroup>
2021-11-30 01:23:35 +00:00
</Project>