Skip to content

Commit bd32672

Browse files
committed
Unify copying of native dependencies
1 parent fe932f3 commit bd32672

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

LibGit2Sharp/LibGit2Sharp.csproj

+7-4
Original file line numberDiff line numberDiff line change
@@ -355,16 +355,19 @@
355355
</ItemGroup>
356356
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
357357
<Import Project="UniqueIdentifier.targets" />
358+
<PropertyGroup>
359+
<NativeBinariesDirectory>$(MSBuildProjectDirectory)\..\Lib\NativeBinaries</NativeBinariesDirectory>
360+
</PropertyGroup>
361+
<Import Project="CopyNativeDependencies.targets" />
358362
<PropertyGroup>
359363
<PreBuildEvent>
360364
</PreBuildEvent>
361365
</PropertyGroup>
366+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
367+
Other similar extension points exist, see Microsoft.Common.targets.
362368
<Target Name="BeforeBuild">
363369
</Target>
364370
<Target Name="AfterBuild">
365-
<CreateItem Include="$(MSBuildProjectDirectory)\..\Lib\NativeBinaries\**\*.*">
366-
<Output TaskParameter="Include" ItemName="NativeBinaries" />
367-
</CreateItem>
368-
<Copy SourceFiles="@(NativeBinaries)" DestinationFiles="@(NativeBinaries->'$(OutputPath)NativeBinaries\%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="true" />
369371
</Target>
372+
-->
370373
</Project>

0 commit comments

Comments
 (0)