From 2392f29c3078350efa6c0658502bfaaeb83c4ae6 Mon Sep 17 00:00:00 2001 From: Chris Yeninas <844685+PhantomGamers@users.noreply.github.com> Date: Wed, 16 Feb 2022 20:30:47 -0500 Subject: [PATCH] put nebulabundle in root of output directory --- NebulaWorld/AssetLoader.cs | 2 +- NebulaWorld/NebulaWorld.csproj | 5 ----- SharedConfig.targets | 4 ++++ 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/NebulaWorld/AssetLoader.cs b/NebulaWorld/AssetLoader.cs index 5f58109aa..c67bd7429 100644 --- a/NebulaWorld/AssetLoader.cs +++ b/NebulaWorld/AssetLoader.cs @@ -22,7 +22,7 @@ public static AssetBundle AssetBundle return null; } - var fullAssetPath = Path.Combine(pluginfolder, "Assets", "nebulabundle"); + var fullAssetPath = Path.Combine(pluginfolder, "nebulabundle"); assetBundle = AssetBundle.LoadFromFile(fullAssetPath); } diff --git a/NebulaWorld/NebulaWorld.csproj b/NebulaWorld/NebulaWorld.csproj index d954516be..cf59f5a9f 100644 --- a/NebulaWorld/NebulaWorld.csproj +++ b/NebulaWorld/NebulaWorld.csproj @@ -7,9 +7,4 @@ - - - PreserveNewest - - \ No newline at end of file diff --git a/SharedConfig.targets b/SharedConfig.targets index 3f88c9d02..affef5a9f 100644 --- a/SharedConfig.targets +++ b/SharedConfig.targets @@ -43,6 +43,10 @@ SourceFiles="@(ProjectAssembliesMetaFilesFolder)" DestinationFolder="..\NebulaUnity\Assets\Assemblies\" /> + + + +