I've been using SkiaSharp (a C# wrapper around Google's Skia vector graphics library) with success until today. I am using Visual Studio 2015 Community. I have a Winform that contains a custom control that uses SkiaSharp to paint itself. Everything was going great until I initialized a git repo for my project.
Now I can build and run my project just fine in both Debug and Release modes, but I can no longer use the designer on the form that contains the Skia control. I see the following exception:
System.DllNotFoundException: Unable to load DLL 'libskia_windows.dll': The specified module could not be found.
at SkiaSharp.SkiaApi.sk_surface_new_raster_direct(...)
at SkiaSharp.SKSurface.Create(...)
...
at SkiaView.OnPaint(...)
at System.Windows.Forms.Control.PaintWithErrorHandling(...)
...
When I delete the bin and obj directories and build my solution, 'libskia_windows.dll' is properly copied to those directories. And as I said, it runs fine. So why can't the designer find it?