From 98643680ddd361a50d4f2118f477fea484380b84 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Wed, 2 Feb 2022 20:44:36 -0800 Subject: [PATCH] improve dll copying --- DevEnv.targets.example | 2 +- Directory.Build.props | 2 +- QSB/QSB.csproj | 25 ++++--------------------- 3 files changed, 6 insertions(+), 23 deletions(-) diff --git a/DevEnv.targets.example b/DevEnv.targets.example index 76f604d8..295fd4cf 100644 --- a/DevEnv.targets.example +++ b/DevEnv.targets.example @@ -3,6 +3,6 @@ C:\Program Files\Epic Games\OuterWilds $(AppData)\OuterWildsModManager\OWML - $(SolutionDir)\qsb-unityproject\Assets + $(SolutionDir)\qsb-unityproject\Assets\DLLs \ No newline at end of file diff --git a/Directory.Build.props b/Directory.Build.props index a1d4105c..0b1e1a13 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -21,7 +21,7 @@ C:\Program Files\Epic Games\OuterWilds $(AppData)\OuterWildsModManager\OWML - $(SolutionDir)\qsb-unityproject\Assets + $(SolutionDir)\qsb-unityproject\Assets\DLLs diff --git a/QSB/QSB.csproj b/QSB/QSB.csproj index b58168f8..2ed4264d 100644 --- a/QSB/QSB.csproj +++ b/QSB/QSB.csproj @@ -13,7 +13,7 @@ - copy /y "$(OutputPath)" "$(UnityAssetsDir)" + copy /y "$(OutputPath)\*.dll" "$(UnityAssetsDir)" copy /y "$(GameDir)\OuterWilds_Data\Managed\Assembly-CSharp-firstpass.dll" "$(UnityAssetsDir)" copy /y "$(GameDir)\OuterWilds_Data\Managed\Unity.InputSystem.dll" "$(UnityAssetsDir)" copy /y "$(GameDir)\OuterWilds_Data\Managed\UnityEngine.UI.dll" "$(UnityAssetsDir)" @@ -22,26 +22,9 @@ copy /y "$(OwmlDir)\Autofac.dll" "$(UnityAssetsDir)" copy /y "$(OwmlDir)\Newtonsoft.Json.dll" "$(UnityAssetsDir)" copy /y "$(OwmlDir)\0Harmony.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\MonoMod.Utils.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\MonoMod.RuntimeDetour.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\Mono.Cecil.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\Mono.Cecil.Mdb.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\Mono.Cecil.Pdb.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\Mono.Cecil.Rocks.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\OWML.Common.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\OWML.ModHelper.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\OWML.ModHelper.Assets.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\OWML.ModHelper.Events.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\OWML.ModHelper.Menus.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\OWML.ModHelper.Input.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\OWML.ModHelper.Interaction.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\OWML.Utils.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\OWML.Common.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\OWML.Logging.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\OWML.ModLoader.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\OWML.Patcher.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\OWML.GameFinder.dll" "$(UnityAssetsDir)" - copy /y "$(OwmlDir)\OWML.Abstractions.dll" "$(UnityAssetsDir)" + copy /y "$(OwmlDir)\MonoMod.*.dll" "$(UnityAssetsDir)" + copy /y "$(OwmlDir)\Mono.Cecil*.dll" "$(UnityAssetsDir)" + copy /y "$(OwmlDir)\OWML.*.dll" "$(UnityAssetsDir)" copy /y "$(OwmlDir)\NAudio-Unity.dll" "$(UnityAssetsDir)"