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.
Run or export as per usual
P.s. if Iāve left anything out, just let me know.
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: