mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
103 lines
4.2 KiB
XML
103 lines
4.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<AssemblyTitle>Quantum Space Buddies</AssemblyTitle>
|
|
<Product>Quantum Space Buddies</Product>
|
|
<Description>Multiplayer mod for Outer Wilds</Description>
|
|
<OutputPath Condition="Exists('$(OwmlDir)')">$(OwmlDir)\Mods\QSB</OutputPath>
|
|
<NoWarn>CS1998;CS0649</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<Target Name="clean before building" BeforeTargets="PreBuildEvent">
|
|
<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">
|
|
<Exec Command="MirrorWeaver "$(TargetPath)"" WorkingDirectory="..\MirrorWeaver\bin\$(Configuration)\" />
|
|
</Target>
|
|
|
|
<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)')">
|
|
<ItemGroup>
|
|
<_Files Remove="@(_Files)" />
|
|
<_Files Include="$(UnityDllsDir)\*.dll" />
|
|
<_Files Include="$(UnityDllsDir)\*.exe" />
|
|
<_Files Include="$(UnityDllsDir)\*.pdb" />
|
|
</ItemGroup>
|
|
<Delete Files="@(_Files)" />
|
|
|
|
<ItemGroup>
|
|
<_Files Remove="@(_Files)" />
|
|
<_Files Include="$(OutputPath)\*.dll" />
|
|
<_Files Include="$(OutputPath)\*.exe" />
|
|
<_Files Include="$(OutputPath)\*.pdb" />
|
|
|
|
<_Files Include="$(GameDllsDir)\EOS-SDK.dll" />
|
|
<_Files Include="$(GameDllsDir)\UniSense.dll" />
|
|
<_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" />
|
|
<_Files Include="$(GameDllsDir)\OWML*.dll" />
|
|
<_Files Include="$(GameDllsDir)\NAudio-Unity.dll" />
|
|
<_Files Include="$(GameDllsDir)\com.rlabrecque.steamworks.net.dll" />
|
|
</ItemGroup>
|
|
<Copy SourceFiles="@(_Files)" DestinationFolder="$(UnityDllsDir)" />
|
|
</Target>
|
|
|
|
<ItemGroup>
|
|
<None Include="default-config.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Include="manifest.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Include="storage.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Include="Assets\*">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Remove="Assets\*.pdn" />
|
|
<None Include="Translations\*">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Include="AssetBundles\*">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Remove="AssetBundles\AssetBundles" />
|
|
<None Remove="AssetBundles\*.manifest" />
|
|
<None Condition="Exists('debugsettings.json')" Include="debugsettings.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="OuterWildsGameLibs" Version="1.1.12.168" IncludeAssets="compile" />
|
|
<Reference Include="..\Mirror\*.dll" />
|
|
<Reference Include="..\UniTask\*.dll" />
|
|
<ProjectReference Include="..\EpicOnlineTransport\EpicOnlineTransport.csproj" />
|
|
<ProjectReference Include="..\EpicRerouter\EpicRerouter.csproj" />
|
|
<ProjectReference Include="..\MirrorWeaver\MirrorWeaver.csproj" ReferenceOutputAssembly="false" />
|
|
<PackageReference Include="HarmonyX" Version="2.10.0" IncludeAssets="compile" />
|
|
<PackageReference Include="OWML" Version="2.5.1" IncludeAssets="compile" />
|
|
</ItemGroup>
|
|
</Project>
|