2021-11-26 20:28:22 -05:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
2021-11-20 19:49:50 +00:00
|
|
|
|
<PropertyGroup>
|
2021-11-26 20:28:22 -05:00
|
|
|
|
<AssemblyTitle>Quantum Space Buddies</AssemblyTitle>
|
2021-11-26 22:17:03 -05:00
|
|
|
|
<Product>Quantum Space Buddies</Product>
|
2022-02-23 00:59:12 -08:00
|
|
|
|
<Description>Multiplayer mod for Outer Wilds</Description>
|
2022-02-10 17:46:46 -08:00
|
|
|
|
<OutputPath Condition="Exists('$(OwmlDir)')">$(OwmlDir)\Mods\QSB</OutputPath>
|
2022-02-03 00:18:13 -08:00
|
|
|
|
<NoWarn>CS1998;CS0649</NoWarn>
|
2020-02-10 23:03:28 +01:00
|
|
|
|
</PropertyGroup>
|
2022-02-10 20:28:07 -08:00
|
|
|
|
|
2022-02-10 23:10:21 -08:00
|
|
|
|
<Target Name="clean before building" BeforeTargets="PreBuildEvent">
|
2022-02-24 20:57:09 -08:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<_Files Remove="@(_Files)" />
|
|
|
|
|
<_Files Include="$(OutputPath)\*.dll" />
|
|
|
|
|
<_Files Include="$(OutputPath)\*.exe" />
|
|
|
|
|
<_Files Include="$(OutputPath)\*.pdb" />
|
|
|
|
|
|
|
|
|
|
<_Files Include="$(OutputPath)\AssetBundles\*" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<Delete Files="@(_Files)" />
|
|
|
|
|
</Target>
|
|
|
|
|
<Target Name="clean after building" AfterTargets="PostBuildEvent">
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<_Files Remove="@(_Files)" />
|
|
|
|
|
<_Files Include="$(OutputPath)\*.exe.config" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<Delete Files="@(_Files)" />
|
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
|
|
<Target Name="weave qsb" AfterTargets="PostBuildEvent">
|
2022-03-02 18:35:25 -08:00
|
|
|
|
<Exec Command="MirrorWeaver "$(TargetPath)"" WorkingDirectory="..\MirrorWeaver\bin\$(Configuration)\" />
|
2022-02-10 23:10:21 -08:00
|
|
|
|
</Target>
|
2022-02-11 05:04:56 -08:00
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<GameDllsDir Condition="Exists('$(GameDir)')">$(GameDir)\OuterWilds_Data\Managed</GameDllsDir>
|
|
|
|
|
<UnityDllsDir Condition="Exists('$(UnityAssetsDir)')">$(UnityAssetsDir)\Dlls</UnityDllsDir>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Target Name="copy dlls to unity" AfterTargets="PostBuildEvent" Condition="Exists('$(UnityDllsDir)') and Exists('$(GameDllsDir)')">
|
2022-02-24 20:57:09 -08:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<_Files Remove="@(_Files)" />
|
|
|
|
|
<_Files Include="$(UnityDllsDir)\*.dll" />
|
|
|
|
|
<_Files Include="$(UnityDllsDir)\*.exe" />
|
|
|
|
|
<_Files Include="$(UnityDllsDir)\*.pdb" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<Delete Files="@(_Files)" />
|
2022-02-10 20:28:07 -08:00
|
|
|
|
|
2022-02-24 20:57:09 -08:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<_Files Remove="@(_Files)" />
|
|
|
|
|
<_Files Include="$(OutputPath)\*.dll" />
|
|
|
|
|
<_Files Include="$(OutputPath)\*.exe" />
|
|
|
|
|
<_Files Include="$(OutputPath)\*.pdb" />
|
2022-02-10 20:28:07 -08:00
|
|
|
|
|
2022-02-24 20:57:09 -08:00
|
|
|
|
<_Files Include="$(GameDllsDir)\EOS-SDK.dll" />
|
2022-03-07 15:57:53 -08:00
|
|
|
|
<_Files Include="$(GameDllsDir)\UniSense.dll" />
|
2022-02-24 20:57:09 -08:00
|
|
|
|
<_Files Include="$(GameDllsDir)\Autofac.dll" />
|
|
|
|
|
<_Files Include="$(GameDllsDir)\Newtonsoft.Json.dll" />
|
|
|
|
|
<_Files Include="$(GameDllsDir)\0Harmony.dll" />
|
|
|
|
|
<_Files Include="$(GameDllsDir)\MonoMod*.dll" />
|
|
|
|
|
<_Files Include="$(GameDllsDir)\Mono.Cecil.dll" />
|
2022-03-07 15:57:53 -08:00
|
|
|
|
<_Files Include="$(GameDllsDir)\OWML*.dll" />
|
|
|
|
|
<_Files Include="$(GameDllsDir)\NAudio-Unity.dll" />
|
2022-03-10 14:15:29 -08:00
|
|
|
|
<_Files Include="$(GameDllsDir)\com.rlabrecque.steamworks.net.dll" />
|
2022-02-24 20:57:09 -08:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<Copy SourceFiles="@(_Files)" DestinationFolder="$(UnityDllsDir)" />
|
2022-02-10 20:28:07 -08:00
|
|
|
|
</Target>
|
2022-02-09 12:00:14 -08:00
|
|
|
|
|
2020-02-10 23:03:28 +01:00
|
|
|
|
<ItemGroup>
|
2020-12-21 00:17:31 +01:00
|
|
|
|
<None Include="default-config.json">
|
2022-02-02 22:02:10 -08:00
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
2020-12-21 00:17:31 +01:00
|
|
|
|
</None>
|
|
|
|
|
<None Include="manifest.json">
|
2022-02-02 22:02:10 -08:00
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
2020-12-21 00:17:31 +01:00
|
|
|
|
</None>
|
2022-02-10 18:34:47 -08:00
|
|
|
|
<None Include="AssetBundles\*">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
2022-02-10 21:49:06 -08:00
|
|
|
|
<None Remove="AssetBundles\AssetBundles" />
|
|
|
|
|
<None Remove="AssetBundles\*.manifest" />
|
2022-02-11 05:34:48 -08:00
|
|
|
|
<None Condition="Exists('debugsettings.json')" Include="debugsettings.json">
|
2022-02-10 18:34:47 -08:00
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
2021-10-12 16:56:07 +01:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
2022-02-04 14:33:49 +00:00
|
|
|
|
<PackageReference Include="OuterWildsGameLibs" Version="1.1.12.168" IncludeAssets="compile" />
|
2022-01-15 21:32:27 -08:00
|
|
|
|
<Reference Include="..\Mirror\*.dll" />
|
2022-01-28 18:37:28 -08:00
|
|
|
|
<Reference Include="..\UniTask\*.dll" />
|
2022-02-05 18:52:24 -08:00
|
|
|
|
<ProjectReference Include="..\EpicOnlineTransport\EpicOnlineTransport.csproj" />
|
2022-02-06 21:38:14 -08:00
|
|
|
|
<ProjectReference Include="..\EpicRerouter\EpicRerouter.csproj" />
|
2022-01-15 21:49:59 -08:00
|
|
|
|
<ProjectReference Include="..\MirrorWeaver\MirrorWeaver.csproj" ReferenceOutputAssembly="false" />
|
2022-02-07 00:01:28 -08:00
|
|
|
|
<PackageReference Include="HarmonyX" Version="2.9.0" IncludeAssets="compile" />
|
|
|
|
|
<PackageReference Include="OWML" Version="2.3.2" IncludeAssets="compile" />
|
2021-11-26 20:28:22 -05:00
|
|
|
|
</ItemGroup>
|
2021-11-29 17:23:35 -08:00
|
|
|
|
</Project>
|