Fuse Community

"FATAL ERROR: Value does not fall within the expected range" after MacOS update

Hello! After the newest MacOS update I’m getting this error with “uno clean” and “uno build --trace --force”:

Uno 1.10.0-rc1-master-b79b2df (dev-build) macOS 10.14 x86_64 b79b2df
Copyright © 2018-present Fuse Open

Configuring 0.40 s
Compiling syntax tree 1.41 s
Generating code and data 2.24 s
System.ArgumentException: Value does not fall within the expected range.
at Mono.Cecil.AssemblyDefinition.ReadAssembly (System.String fileName) [0x0000b] in :0
at Uno.Compiler.Backends.CIL.AppLoader.SetMainClass (System.String type, System.String file, System.String loadClass, System.String loadMethod) [0x0000e] in :0
at Uno.Compiler.Backends.CIL.CilBackend.EndBuild () [0x0025d] in :0
at Uno.Compiler.Core.Compiler.Generate (System.Action`1[T] callback) [0x00261] in :0
at Uno.Build.BuildDriver.Build () [0x00687] in <8ff745421e4e433d98654d56b9d0eacf>:0
at Uno.Build.ProjectBuilder.Build (Uno.ProjectFormat.Project project) [0x000e2] in <8ff745421e4e433d98654d56b9d0eacf>:0

FATAL ERROR: Value does not fall within the expected range. (pass --trace for stack trace)

Fixed it! For some reason a space character was left in the .unoproj “name” tag. So if it was “Name”: " Application" the build exits with an error.

1 Like