Compile Uno Mac
2.1. Get the prerequisites (Mono, Make, NodeJS and NuGet via mono) mono nuget.exe (Ref)
2.2. Run make release from terminal/command line of the Uno folder Win
2.1. Get the prerequisites (Mono, Bash via MSYS2, NodeJS and NuGet)
2.1.1. Get all the 64bit versions!
2.1.2. Bash - don’t forget to install and update the packages by running pacman -Syu inside MSYS2, close the app, then run pacman -Su to update the rest of the packages.
2.1.3. Bash - Add path to your environment variables “C:\msys64\usr\bin” and “C:\msys64\usr\local\bin” via Control Panel > System > View advanced system settings > Environment Variables > System Variables > Path (Ref)
2.1.4. Mono - Add path to your environment variables “C:\Program Files\Mono\bin”
2.2. Get Visual Studio (Select “.Net desktop development” if installing via VS Community 2017)
2.3. Open uno.sln in the uno-master folder
2.4. In VS, make sure “Uno.CLI.Main” is selected in Startup Projects dropdown, then click Start
2.5. Run the uno in the /bin folder uno --version
2.6. Side thought: I don’t think we need bash and nodejs for Windows VS route, perhaps someone can confirm this?
Setup latest Fuselibs with your project
3.1. Create a file named .unoconfig in your project folder
3.2. Enter the path to the fuselibs in the file on the first line like so: Packages.SourcePaths += /github/fuselibs/Source
Setup latest Uno
You will find your compiled Uno in the release folder
4.1. Copy uno executables(uno & uno.exe) to fuselibs/Stuff folder
4.2. Copy lib folder to fuselibs/Stuff/lib folder
4.3. Mac: Copy and rename the bin folder to Uno folder in the Fuse application: Fuse.app/Contents/Uno
Win: Copy contents of bin folder into Program Files (x86)/Fuse
4.4. Copy fuselibs/Stuff/uno.packages and override Fuse.app/Contents/uno.packages
Run uno doctor in project folder to make sure your libs are up-to-date.
Hello! I installed Bash and it works ok in the command line, but the same error comes up. If I run “bash scripts/build.sh” instead of “make release”, I get this:
C:\Users\Matti Tihveräinen\Documents\GitHub\uno>bash scripts/build.sh
: No such file or directorycripts/common.sh
scripts/build.sh: line 5: $'\r': command not found
scripts/build.sh: line 12: $'\r': command not found
scripts/build.sh: line 14: syntax error near unexpected token `$'do\r''
'cripts/build.sh: line 14: `for arg in "$@"; do
Thanks for the updated instructions! I’ve been running Fuse now 100% on a Mac without a problem, so I forgot about the issue. I’m sure it was with Bash missing.
I’m having crashes with iPhoneX in Fuse 1.9 and tried to install to latest with this guide. However the uno doctor gives me a lot of errors related to ‘Fuse.Reactive.Javascript (reflector)’ thingy. Obviously will get these when trying to build my project.
Hello, I read the latest version of Uno, fuselibs, and follow the instructions. I have a problem. So I leave a comment like this way.
I’m using the Visual Studio 2017 version, and I ran Uno.CLI.Main after installing ".Net desktop development as shown in the method, and I encountered the following error.
‘uno.exe’ (CLR v4.0.30319: uno.exe): Load 'C:\Users\luid\Downloads\uno-1.12.1\src\main\Uno.CLI.Main\Debug\MonOptions.dll. Module built without symbol
‘[11016] uno.exe’ program terminated (code: 0 (0x0))
yeah, that’s the desktop preview, it was part of the studio which is not currently maintained, just the fuselibs and uno, please check and support the funding goal: