Skip to content

Commit

Permalink
Merge pull request #1361 from shimat/fix_props
Browse files Browse the repository at this point in the history
Try fixing #1359 and #1360
  • Loading branch information
shimat authored Dec 28, 2021
2 parents 6e5e39c + b2cc74e commit e55fd85
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions nuget/OpenCvSharp4.runtime.win.props
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<NativeDlls>$(MSBuildThisFileDirectory)..\..\runtimes</NativeDlls>
<OpenCvSharp4ExternalNativeDlls>$(MSBuildThisFileDirectory)..\..\runtimes</OpenCvSharp4ExternalNativeDlls>
</PropertyGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('net2')) Or $(TargetFramework.StartsWith('net3')) Or $(TargetFramework.StartsWith('net4'))">
<Content Include="$(NativeDlls)\win-x86\native\OpenCvSharpExtern.dll">
<ItemGroup Condition="$(TargetFrameworkVersion.StartsWith('v4')) Or $(TargetFramework.StartsWith('net4'))">
<Content Include="$(OpenCvSharp4ExternalNativeDlls)\win-x86\native\OpenCvSharpExtern.dll">
<Link>dll\x86\OpenCvSharpExtern.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="$(NativeDlls)\win-x86\native\opencv_videoio_ffmpeg453.dll">
<Content Include="$(OpenCvSharp4ExternalNativeDlls)\win-x86\native\opencv_videoio_ffmpeg453.dll">
<Link>dll\x86\opencv_videoio_ffmpeg453.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('net2')) Or $(TargetFramework.StartsWith('net3')) Or $(TargetFramework.StartsWith('net4'))">
<Content Include="$(NativeDlls)\win-x64\native\OpenCvSharpExtern.dll">
<ItemGroup Condition="$(TargetFrameworkVersion.StartsWith('v4')) Or $(TargetFramework.StartsWith('net4'))">
<Content Include="$(OpenCvSharp4ExternalNativeDlls)\win-x64\native\OpenCvSharpExtern.dll">
<Link>dll\x64\OpenCvSharpExtern.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="$(NativeDlls)\win-x64\native\opencv_videoio_ffmpeg453_64.dll">
<Content Include="$(OpenCvSharp4ExternalNativeDlls)\win-x64\native\opencv_videoio_ffmpeg453_64.dll">
<Link>dll\x64\opencv_videoio_ffmpeg453_64.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
Expand Down

0 comments on commit e55fd85

Please sign in to comment.