shimat / opencvsharp

OpenCV wrapper for .NET
Apache License 2.0
5.44k stars 1.15k forks source link

Nuspec dependencies do not match the .csproj for OpenCvSharp.Extensions #1688

Open MyrddinoptRoodt opened 4 months ago

MyrddinoptRoodt commented 4 months ago

Summary of your issue

OpenCvSharp.Extensions' dependency on System.Drawing.Common uses version 8.0.6, while the nuspec file declares this dependency as version 7.0.0.

CS1705  Assembly 'OpenCvSharp.Extensions' with identity 'OpenCvSharp.Extensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6adad1e807fea099' uses 'System.Drawing.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' which has a higher version than referenced assembly 'System.Drawing.Common' with identity 'System.Drawing.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

This prevents code to be build using .NET 7

FredericLopez commented 4 months ago

It also prevents code to build using .NET 6. The last working version is 4.9.0.20240103 for me.

Maintenance-Partnership-Systems commented 2 months ago

It also prevents code building using .NET 8; I get the same error regarding the System.Drawing.Common version.