Skip to content

Commit dc2a1d3

Browse files
jonnewbparks13
authored andcommitted
Add msbuild target to copy native libraries
- Add AfterBuild target that copies OpenEphys.Onix1 dlls into OpenEphys.Onix1.Design build folder after its built.
1 parent 83de593 commit dc2a1d3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

OpenEphys.Onix1.Design/OpenEphys.Onix1.Design.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,11 @@
4242
</EmbeddedResource>
4343
</ItemGroup>
4444

45+
<Target Name="CopyNativeDependencies" AfterTargets="AfterBuild">
46+
<ItemGroup>
47+
<NativeDlls Include="$(OutputPath)..\..\OpenEphys.Onix1\$(ArtifactsPivots)\*.dll" />
48+
</ItemGroup>
49+
<Copy SourceFiles="@(NativeDlls)" DestinationFolder="$(OutputPath)" />
50+
</Target>
51+
4552
</Project>

0 commit comments

Comments
 (0)