Can't load file NativeMethods.cs

Can’t load file NativeMethods.cs under C:\projects\opencvsharp\src\OpenCvSharp\PInvoke.

Check the file permission and the existence of that file.

That’s not an OpenCV issue but a C# issue related to the third party “OpenCVSharp” wrapper. You should seek support there: