How to resolve mono issue when building Uno with make on macOS

If you get an error like this when trying to make:

warning MSB3245: Could not resolve this reference. Could not locate the assembly "Moq, Version=4.15.0.0, Culture=neutral, PublicKeyToken=69f491c39445e920, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. 

  1. Check that your mono alias is pointing to the correct/updated mono:

“Show Original”:
screenshot_2021-03-20_at_13.13.35

  1. update your mono (you may have to reboot your terminal, try mono --version to see if it updated)

  2. type which mono to get the dir of your installed mono, goto the location and copy the mono alias and override the one in [user folder]/.dotnet-run/.bin/mono

  3. run make clean

  4. run make