Commit 52814b69 authored by Martin Finkel's avatar Martin Finkel

Fix Android build on macOS

copy /Y does not work on macOS. Using an MSBuild Copy task instead.

(cherry picked from commit 9befdd2e0300de0ad627a763a38903647e9dd495)
parent eabeb7fb
......@@ -50,14 +50,5 @@
<TransformFile Include="Transforms\EnumMethods.xml" />
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.Bindings.targets" />
<PostBuildEvent>copy /Y "$(TargetDir)$(ProjectName).dll" "$(ProjectDir)..\LibVLCSharp\bin\$(ConfigurationName)\monoandroid81\$(ProjectName).dll"</PostBuildEvent>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
<Target Name="AfterBuild">
<Import Project="copy.targets" />
\ No newline at end of file
<Project xmlns="">
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
DestinationFolder="$(ProjectDir)..\LibVLCSharp\bin\$(ConfigurationName)\monoandroid81" />
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment