error %1 is not a

On Windows 10, after a clean installation of fuse. I get this error:

 fuse preview -v
Fuse 0.25.2 (build 7648)
Build started: FullCompile
Configuring
Project file: weather-app.unoproj
Search paths: C:\Program Files (x86)\Fuse\Packages, C:\ProgramData\Uno\Packages
Packages:     UnoCore (0.35.8), Fuse.Designer (0.35.12), Uno.Collections (0.35.0), Uno.Geometry (0.35.0), Uno.Net.Sockets (0.35.8), Uno.Threading (0.35.8), FuseCore (0.35.12), Fuse.Motion (0.35.12), Fuse.Animations (0.35.12), Fuse.Drawing (0.35.12), Uno.Net.Http (0.35.8), Experimental.Http (0.35.12), Experimental.TextureLoader (0.35.0), Fuse.Drawing.Planar (0.35.12), Fuse.Scripting (0.35.12), Fuse.Triggers (0.35.12), Fuse.Elements (0.35.12), Fuse.Controls.Native (0.35.12), Fuse.Drawing.Batching (0.35.12), Fuse.Drawing.Meshes (0.35.12), Fuse.Drawing.Primitives (0.35.12), Fuse.Drawing.Polygons (0.35.12), Fuse.Drawing.Paths (0.35.12), Fuse.Entities (0.35.12), Fuse.Gestures (0.35.12), Fuse.Navigation (0.35.12), Uno.Data.Json (0.35.0), Fuse.Scripting.Duktape (0.35.12), Fuse.Scripting.JavaScriptCore (0.35.12), Fuse.Scripting.Jurassic (0.35.12), Fuse.Scripting.V8 (0.35.12), Uno.Testing (0.35.8), Fuse.Reactive (0.35.12), Fuse.Controls (0.35.12), Fuse.Controls.Panels (0.35.12), Fuse.Effects (0.35.12), Fuse.Controls.Primitives (0.35.12), Fuse.Controls.ScrollView (0.35.12), Fuse.Android (0.35.12), Fuse.Controls.Navigation (0.35.12), Fuse.Controls.Video (0.35.12), ObjC (0.35.1), Experimental.iOS (0.35.1), Fuse.iOS (0.35.12), Fuse.Controls.WebView (0.35.12), Fuse.Desktop (0.35.12), Fuse.FileSystem (0.35.12), Fuse.Physics (0.35.12), Fuse.Storage (0.35.12), Fuse.UserEvents (0.35.12), Uno.Data.Xml (0.35.0), Fuse (0.35.12), Fuse.Platform (0.35.12), Polyfills.Window (0.35.12), FuseJS (0.35.12), Android (0.35.1), Outracks.Simulator.Protocol.Uno (0.0.0), Outracks.Simulator.Reflection.Uno (0.0.0), Outracks.Simulator.Client.Uno (0.1.0), weather-app (0.0.0)
Output dir:   build\Local\Preview
(1,118.18 ms)

Compiling syntax tree (103.68 ms)

FATAL ERROR: Failed to load 'C:\Program Files (x86)\Fuse\x86\uAsset.dll'. %1 is not a valid Win32 application (pass --trace for stack trace)
Build ended

Hi, have you tried to uninstall and then install Fuse again?

yes. Twice…

Could you send me the C:\Program Files (x86)\Fuse\x86\uAsset.dll to https://www.dropbox.com/request/ZgndLtJQm5eGzG9cicGK.

Thanks! :slight_smile:

What is the result of running wmic OS get OSArchitecture in CMD? It should display the architecture of your OS.

I have a x64

I see, what’s happen if you do:

  1. Rename C:\Program Files (x86)\Fuse\x86\uAsset.dll to C:\Program Files (x86)\Fuse\x86\uAsset.dll.bak
  2. Copy C:\Program Files (x86)\Fuse\x64\uAsset.dll to C:\Program Files (x86)\Fuse\x86\uAsset.dll

same error…

I even copied the whole x64 directory to the x86.
A clean windows install (!!!) and reinstall fixed the trick.

If anyone stumbles over this - I hope you will find an answer. I could not, and only a clean reinstall of windows solved the issue.

We haven’t been able to reproduce it at our end, so a fix isn’t planned.
However it’s good it worked for you, even though the process seems tedious.