Skip to content

Commit c323e79

Browse files
committed
Fix some more copying issues
1 parent 4a8661b commit c323e79

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Source/DynamicOpenVR.BeatSaber/DynamicOpenVR.BeatSaber.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,17 @@
5050
<ItemGroup>
5151
<ProjectReference Include="..\DynamicOpenVR\DynamicOpenVR.csproj" />
5252
</ItemGroup>
53-
<ItemGroup>
54-
<CopyToOutput Include="$(ProjectDir)..\..\Packaging\DynamicOpenVR.BeatSaber\**\*.*" />
55-
</ItemGroup>
5653
<Target Name="ClearReferenceCopyLocalPaths" AfterTargets="ResolveAssemblyReferences">
5754
<ItemGroup>
5855
<!-- prevent any referenced DLLs from being copied to the output folder -->
5956
<ReferenceCopyLocalPaths Remove="@(ReferenceCopyLocalPaths)" />
6057
</ItemGroup>
6158
</Target>
6259
<Target Name="Organize" AfterTargets="AfterBuild">
60+
<ItemGroup>
61+
<CopyToOutput Include="$(ProjectDir)..\..\Packaging\DynamicOpenVR.BeatSaber\**\*.*" />
62+
</ItemGroup>
63+
6364
<!-- create Plugins folder and move plugin DLL/PDB inside -->
6465
<MakeDir Directories="$(PublishDir)Plugins" />
6566
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(PublishDir)Plugins" />

Source/DynamicOpenVR/DynamicOpenVR.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,17 @@
2727
<HintPath>..\..\Libraries\UnityEngine.XRModule.dll</HintPath>
2828
</Reference>
2929
</ItemGroup>
30-
<ItemGroup>
31-
<CopyToOutput Include="$(ProjectDir)..\..\Packaging\DynamicOpenVR\**\*.*" />
32-
</ItemGroup>
3330
<Target Name="ClearReferenceCopyLocalPaths" AfterTargets="ResolveAssemblyReferences">
3431
<ItemGroup>
3532
<!-- prevent any referenced DLLs from being copied to the output folder -->
3633
<ReferenceCopyLocalPaths Remove="@(ReferenceCopyLocalPaths)" />
3734
</ItemGroup>
3835
</Target>
3936
<Target Name="Organize" AfterTargets="AfterBuild">
37+
<ItemGroup>
38+
<CopyToOutput Include="$(ProjectDir)..\..\Packaging\DynamicOpenVR\**\*.*" />
39+
</ItemGroup>
40+
4041
<!-- create Libs folder and move DLL/PDB inside -->
4142
<MakeDir Directories="$(PublishDir)Libs" />
4243
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(PublishDir)Libs" />

0 commit comments

Comments
 (0)