Fuse Community

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=, 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”:

  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