mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-04-17 08:43:30 +00:00
do less build things
This commit is contained in:
parent
48144a8214
commit
36fb9ab300
@ -7,17 +7,6 @@
|
||||
<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)" />
|
||||
@ -31,33 +20,13 @@
|
||||
</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)" />
|
||||
|
||||
<Target Name="copy dlls to unity" AfterTargets="PostBuildEvent" Condition="Exists('$(UnityDllsDir)')">
|
||||
<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)\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>
|
||||
|
@ -99,7 +99,6 @@ See [TRANSLATING.md](TRANSLATING.md)
|
||||
- Clone QSB's source
|
||||
- Open the file `DevEnv.targets` in your favorite text editor
|
||||
- (optional if copying built dlls manually) Edit the entry `<OwmlDir>` to point to your OWML directory (it is installed inside the Mod Manager directory)
|
||||
- (optional if no unity project) Edit the entry `<GameDir>` to point to the directory where Outer Wilds is installed
|
||||
- (optional if no unity project) Edit the entry `<UnityAssetsDir>` to point to the Assets folder of the QSB unity project
|
||||
- Open the project solution file `QSB.sln` in Visual Studio 2022
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user