OpenCvSharp4.runtime.win.props 1.3 KB

12345678910111213141516171819202122232425
  1. <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  2. <PropertyGroup>
  3. <NativeDlls>$(MSBuildThisFileDirectory)..\..\runtimes</NativeDlls>
  4. </PropertyGroup>
  5. <ItemGroup Condition="!$(TargetFramework.Contains('netstandard')) And !$(TargetFramework.Contains('netcoreapp')) And !$(TargetFramework.Contains('net5'))">
  6. <Content Include="$(NativeDlls)\win-x86\native\OpenCvSharpExtern.dll">
  7. <Link>dll\x86\OpenCvSharpExtern.dll</Link>
  8. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  9. </Content>
  10. <Content Include="$(NativeDlls)\win-x86\native\opencv_videoio_ffmpeg451.dll">
  11. <Link>dll\x86\opencv_videoio_ffmpeg451.dll</Link>
  12. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  13. </Content>
  14. </ItemGroup>
  15. <ItemGroup Condition="!$(TargetFramework.Contains('netstandard')) And !$(TargetFramework.Contains('netcoreapp')) And !$(TargetFramework.Contains('net5'))">
  16. <Content Include="$(NativeDlls)\win-x64\native\OpenCvSharpExtern.dll">
  17. <Link>dll\x64\OpenCvSharpExtern.dll</Link>
  18. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  19. </Content>
  20. <Content Include="$(NativeDlls)\win-x64\native\opencv_videoio_ffmpeg451_64.dll">
  21. <Link>dll\x64\opencv_videoio_ffmpeg451_64.dll</Link>
  22. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  23. </Content>
  24. </ItemGroup>
  25. </Project>