Can't Build For Mac

Posted on
  1. Can't Build For Mac Pro
CanCan

Can't Build For Mac Pro

Steps to Reproduce. File New Solution. Mac App Cocoa App. Install SkiaSharp as a. Build Expected Behavior A successful build. Actual Behavior (CompileToNative target) - MMP: error MM0009: Error while loading assemblies: /Users/matthew/.nuget/packages/skiasharp/1.68.0/runtimes/win-x86/native/libSkiaSharp.dll /Users/matthew/Projects/SkiaSharpMacTest/SkiaSharpMacTest/SkiaSharpMacTest.csproj Workaround I noticed that if I switch from x86 to Any CPU, the issue goes away.

For some reason, if building for x86 or x64, it decides to bull in the Windows binaries. Interestingly, there is an osx runtime asset that is totally ignored - even if I am building for Any CPU.