Skip to content

Commit

Permalink
Fix some more copying issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoco007 committed Nov 24, 2020
1 parent 4a8661b commit c323e79
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions Source/DynamicOpenVR.BeatSaber/DynamicOpenVR.BeatSaber.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,17 @@
<ItemGroup>
<ProjectReference Include="..\DynamicOpenVR\DynamicOpenVR.csproj" />
</ItemGroup>
<ItemGroup>
<CopyToOutput Include="$(ProjectDir)..\..\Packaging\DynamicOpenVR.BeatSaber\**\*.*" />
</ItemGroup>
<Target Name="ClearReferenceCopyLocalPaths" AfterTargets="ResolveAssemblyReferences">
<ItemGroup>
<!-- prevent any referenced DLLs from being copied to the output folder -->
<ReferenceCopyLocalPaths Remove="@(ReferenceCopyLocalPaths)" />
</ItemGroup>
</Target>
<Target Name="Organize" AfterTargets="AfterBuild">
<ItemGroup>
<CopyToOutput Include="$(ProjectDir)..\..\Packaging\DynamicOpenVR.BeatSaber\**\*.*" />
</ItemGroup>

<!-- create Plugins folder and move plugin DLL/PDB inside -->
<MakeDir Directories="$(PublishDir)Plugins" />
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(PublishDir)Plugins" />
Expand Down
7 changes: 4 additions & 3 deletions Source/DynamicOpenVR/DynamicOpenVR.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,17 @@
<HintPath>..\..\Libraries\UnityEngine.XRModule.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<CopyToOutput Include="$(ProjectDir)..\..\Packaging\DynamicOpenVR\**\*.*" />
</ItemGroup>
<Target Name="ClearReferenceCopyLocalPaths" AfterTargets="ResolveAssemblyReferences">
<ItemGroup>
<!-- prevent any referenced DLLs from being copied to the output folder -->
<ReferenceCopyLocalPaths Remove="@(ReferenceCopyLocalPaths)" />
</ItemGroup>
</Target>
<Target Name="Organize" AfterTargets="AfterBuild">
<ItemGroup>
<CopyToOutput Include="$(ProjectDir)..\..\Packaging\DynamicOpenVR\**\*.*" />
</ItemGroup>

<!-- create Libs folder and move DLL/PDB inside -->
<MakeDir Directories="$(PublishDir)Libs" />
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(PublishDir)Libs" />
Expand Down

0 comments on commit c323e79

Please sign in to comment.