Skip to content

Commit

Permalink
fix win nuspec for net6
Browse files Browse the repository at this point in the history
  • Loading branch information
shimat committed Dec 24, 2021
1 parent 0eeffb1 commit 889c573
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nuget/OpenCvSharp4.runtime.win.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<file src="..\opencv_files\opencv453_win_x64\x64\vc16\bin\opencv_videoio_ffmpeg453_64.dll" target="runtimes\win-x64\native" />
<file src="..\opencv_files\opencv453_win_x86\x86\vc16\bin\opencv_videoio_ffmpeg453.dll" target="runtimes\win-x86\native" />
<file src="OpenCvSharp4.runtime.win.props" target="build\net\OpenCvSharp4.runtime.win.props" />
<file src="OpenCvSharp4.runtime.win.props" target="build\netstandard\OpenCvSharp4.runtime.win.props" />
<file src="OpenCvSharp4.runtime.win.props" target="build\netcoreapp\OpenCvSharp4.runtime.win.props" />
<file src="empty\" target="build\netstandard\" />
<file src="empty\" target="build\netcoreapp\" />
</files>
</package>
4 changes: 2 additions & 2 deletions nuget/OpenCvSharp4.runtime.win.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<NativeDlls>$(MSBuildThisFileDirectory)..\..\runtimes</NativeDlls>
</PropertyGroup>
<ItemGroup Condition="!$(TargetFramework.Contains('netstandard')) And !$(TargetFramework.Contains('netcoreapp')) And !$(TargetFramework.Contains('net5'))">
<ItemGroup>
<Content Include="$(NativeDlls)\win-x86\native\OpenCvSharpExtern.dll">
<Link>dll\x86\OpenCvSharpExtern.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand All @@ -12,7 +12,7 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup Condition="!$(TargetFramework.Contains('netstandard')) And !$(TargetFramework.Contains('netcoreapp')) And !$(TargetFramework.Contains('net5'))">
<ItemGroup>
<Content Include="$(NativeDlls)\win-x64\native\OpenCvSharpExtern.dll">
<Link>dll\x64\OpenCvSharpExtern.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand Down

0 comments on commit 889c573

Please sign in to comment.