mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-12-11 20:15:10 +01:00
do less build things
This commit is contained in:
parent
48144a8214
commit
36fb9ab300
@ -7,17 +7,6 @@
|
|||||||
<NoWarn>CS1998;CS0649</NoWarn>
|
<NoWarn>CS1998;CS0649</NoWarn>
|
||||||
</PropertyGroup>
|
</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">
|
<Target Name="clean after building" AfterTargets="PostBuildEvent">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<_Files Remove="@(_Files)" />
|
<_Files Remove="@(_Files)" />
|
||||||
@ -31,33 +20,13 @@
|
|||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<GameDllsDir Condition="Exists('$(GameDir)')">$(GameDir)\OuterWilds_Data\Managed</GameDllsDir>
|
|
||||||
<UnityDllsDir Condition="Exists('$(UnityAssetsDir)')">$(UnityAssetsDir)\Dlls</UnityDllsDir>
|
<UnityDllsDir Condition="Exists('$(UnityAssetsDir)')">$(UnityAssetsDir)\Dlls</UnityDllsDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Target Name="copy dlls to unity" AfterTargets="PostBuildEvent" Condition="Exists('$(UnityDllsDir)') and Exists('$(GameDllsDir)')">
|
<Target Name="copy dlls to unity" AfterTargets="PostBuildEvent" Condition="Exists('$(UnityDllsDir)')">
|
||||||
<ItemGroup>
|
|
||||||
<_Files Remove="@(_Files)" />
|
|
||||||
<_Files Include="$(UnityDllsDir)\*.dll" />
|
|
||||||
<_Files Include="$(UnityDllsDir)\*.exe" />
|
|
||||||
<_Files Include="$(UnityDllsDir)\*.pdb" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Delete Files="@(_Files)" />
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<_Files Remove="@(_Files)" />
|
<_Files Remove="@(_Files)" />
|
||||||
<_Files Include="$(OutputPath)\*.dll" />
|
<_Files Include="$(OutputPath)\*.dll" />
|
||||||
<_Files Include="$(OutputPath)\*.exe" />
|
<_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>
|
</ItemGroup>
|
||||||
<Copy SourceFiles="@(_Files)" DestinationFolder="$(UnityDllsDir)" />
|
<Copy SourceFiles="@(_Files)" DestinationFolder="$(UnityDllsDir)" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|||||||
@ -99,7 +99,6 @@ See [TRANSLATING.md](TRANSLATING.md)
|
|||||||
- Clone QSB's source
|
- Clone QSB's source
|
||||||
- Open the file `DevEnv.targets` in your favorite text editor
|
- 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 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
|
- (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
|
- Open the project solution file `QSB.sln` in Visual Studio 2022
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user