Skip to content

Remove net48 as a direct build target #750

Remove net48 as a direct build target

Remove net48 as a direct build target #750

Triggered via pull request February 28, 2026 14:59
Status Failure
Total duration 8m 1s
Artifacts

windows.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 18 warnings
build
Process completed with exit code 1.
build: test/OpenCvSharp.Tests/objdetect/FaceDetectorYNTest.cs#L140
Remove the underscores from member name OpenCvSharp.Tests.ObjDetect.FaceDetectorYNTest.Detect_DifferentThresholds() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
build: test/OpenCvSharp.Tests/objdetect/FaceDetectorYNTest.cs#L119
Remove the underscores from member name OpenCvSharp.Tests.ObjDetect.FaceDetectorYNTest.Detect_MultipleCalls() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
build: test/OpenCvSharp.Tests/objdetect/FaceDetectorYNTest.cs#L99
Remove the underscores from member name OpenCvSharp.Tests.ObjDetect.FaceDetectorYNTest.Detect_NoFace() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
build: test/OpenCvSharp.Tests/objdetect/FaceDetectorYNTest.cs#L65
Remove the underscores from member name OpenCvSharp.Tests.ObjDetect.FaceDetectorYNTest.Detect_Lenna() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
build: test/OpenCvSharp.Tests/objdetect/FaceDetectorYNTest.cs#L53
Remove the underscores from member name OpenCvSharp.Tests.ObjDetect.FaceDetectorYNTest.Dispose_Twice() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
build: test/OpenCvSharp.Tests/videoio/VideoCaptureTest.cs#L126
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
build: src/OpenCvSharp/Internal/PInvoke/NativeMethods/NativeMethods_aruco.cs#L36
Specify marshaling for P/Invoke string arguments (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2101)
build: src/OpenCvSharp/Modules/core/Mat/Mat.cs#L303
Ambiguous reference in cref attribute: 'Mat.FromPixelData'. Assuming 'Mat.FromPixelData(int, int, MatType, nint, long)', but could have also matched other overloads including 'Mat.FromPixelData(int, int, MatType, Array, long)'.
build
- Add lib or ref assemblies for the net8.0 target framework
build
Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder do not have exact matches in the other location. Consult the list of actions below:
build
-lib/netstandard/_._
build
-lib/netcoreapp/_._
build
-lib/net8.0/_._
build
This package does not contain a lib/ or ref/ folder, and will therefore be treated as compatible for all frameworks. Since framework specific files were found under the build/ directory for net8.0, netcoreapp, netstandard, consider creating the following empty files to correctly narrow the compatibility of the package:
build: src/OpenCvSharp/Modules/core/Mat/Mat.cs#L303
Ambiguous reference in cref attribute: 'Mat.FromPixelData'. Assuming 'Mat.FromPixelData(int, int, MatType, IntPtr, long)', but could have also matched other overloads including 'Mat.FromPixelData(int, int, MatType, Array, long)'.
build: src/OpenCvSharp/Internal/PInvoke/NativeMethods/NativeMethods_aruco.cs#L36
Specify marshaling for P/Invoke string arguments (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2101)
build: src/OpenCvSharp/Modules/core/Mat/Mat.cs#L303
Ambiguous reference in cref attribute: 'Mat.FromPixelData'. Assuming 'Mat.FromPixelData(int, int, MatType, nint, long)', but could have also matched other overloads including 'Mat.FromPixelData(int, int, MatType, Array, long)'.
build: src/OpenCvSharp/Modules/core/Mat/Mat.cs#L303
Ambiguous reference in cref attribute: 'Mat.FromPixelData'. Assuming 'Mat.FromPixelData(int, int, MatType, IntPtr, long)', but could have also matched other overloads including 'Mat.FromPixelData(int, int, MatType, Array, long)'.