Skip to content

Runtime Dependencies

Taiizor edited this page Jun 5, 2026 · 6 revisions

Runtime Dependencies

Sucrose ships almost everything it needs, but a few wallpaper engines depend on Microsoft runtimes that may already be on your system. This page lists every runtime dependency, which engine or component needs it, the exact minimum version, the download link, and how Sucrose can install it for you automatically. For the broader system specs, see System-Requirements.

Contents


Summary table

Dependency Needed by Minimum version Bundled / auto-install Link
.NET 10 runtime The whole app (all engines/services) 10.0.108 (trimmed private runtime) Bundled as Sucrose.Runtime — no system install needed
.NET Framework 4.8 The Bundle installer .exe only 4.8.0.20220524 (Chocolatey dep) Required to run the installer https://dotnet.microsoft.com/en-us/download/dotnet-framework/net48
Edge WebView2 runtime Sucrose.Live.WebView engine 131.0.2903.70 Auto-download offered https://go.microsoft.com/fwlink/p/?LinkId=2124703
Visual C++ Redistributable Sucrose.Live.CefSharp engine 14.40.33816.0 Auto-download offered https://aka.ms/vc14/vc_redist.<arch>.exe
Windows 10 1607 (Redstone 1) Sucrose.Live.MpvPlayer engine Windows 10 build 1607 OS update Windows Update
OS media codecs Sucrose.Live.Nebula engine Whatever your format needs Already part of Windows / user-installed

.NET runtime (bundled)

The Sucrose application targets .NET 10.0-windows, but you do not need a system-wide .NET install. The default publish is framework-dependent yet ships a trimmed private runtime in a Sucrose.Runtime folder next to the app, and every executable is configured to probe it (AppHostDotnetRoot=..\Sucrose.Runtime). The publish pipeline installs runtime version 10.0.108 and trims it down to the Microsoft.NETCore.App and Microsoft.WindowsDesktop.App shared frameworks the WPF apps need.

This means:

  • A clean Windows machine with no .NET installed can run Sucrose.
  • The private runtime lives under %LocalAppData%\Sucrose\Sucrose.Runtime. See Data-Locations.
  • The CefSharp browser subprocess is given a custom runtimeconfig.json so it also probes the private runtime. See Engine-CefSharp and Publish-Pipeline.

If you build a fully standalone copy (-SelfContained true in the publish script), the app does not rely on Sucrose.Runtime at all. See Building-From-Source.


.NET Framework 4.8 (installer only)

The Bundle installer (Sucrose_Bundle_.NET_Framework_4.8_<arch>_<version>.exe) is itself a .NET Framework 4.8 application — it is the only part of Sucrose that needs the classic .NET Framework. Modern Windows 10/11 includes .NET Framework 4.8, so this is rarely a problem; the Chocolatey package nonetheless declares a hard dependency dotnetfx >= 4.8.0.20220524.

If the installer won't launch, install .NET Framework 4.8 from https://dotnet.microsoft.com/en-us/download/dotnet-framework/net48 and run the installer again. The installed application (post-install) does not use .NET Framework — it uses the bundled .NET 10 runtime described above. See Installation and Bundle-Installer-Internals.


Microsoft Edge WebView2 runtime

The WebView engine (Sucrose.Live.WebView) is built on the evergreen Microsoft Edge WebView2 runtime and requires version 131.0.2903.70 or newer.

  • On launch, the engine calls CoreWebView2Environment.GetAvailableBrowserVersionString(). If WebView2 is missing or older than the minimum, it shows a dialog with Continue / Download / Remember / Close.
  • Download fetches the WebView2 bootstrapper from https://go.microsoft.com/fwlink/p/?LinkId=2124703 and installs it silently.
  • Remember snoozes the prompt for one day.

WebView is the default fallback you can switch to if CefSharp's VC++ requirement is a problem, since it covers Gif, Url, Web, Video, and YouTube. See Engine-WebView, Type-Web, and Type-Url.


Visual C++ Redistributable

The CefSharp engine (Sucrose.Live.CefSharp) — the default engine for Url, Web, and YouTube — requires the Microsoft Visual C++ Redistributable version 14.40.33816.0 or newer.

  • On launch, the engine reads the installed VC++ runtime version from the registry (SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\{x86|x64|ARM64}). If it's missing or too old, it shows a Continue / Download / Remember / Close dialog.
  • Download fetches VC_redist.<arch>.exe from https://aka.ms/vc14/vc_redist.<arch>.exe.

If you can't install the VC++ runtime, switch the Url/Web/YouTube engine to WebView as a workaround (Settings → Wallpaper). See Engine-CefSharp and Choosing-Engines.


Windows 10 1607 (MpvPlayer)

The MpvPlayer engine (Sucrose.Live.MpvPlayer) — the default engine for Gif and Video — bundles its own libmpv-<arch>.dll, so it needs no external media install. However, it runs a pre-launch OS check (IsRedstone1) requiring Windows 10 Anniversary Update (version 1607 / Redstone 1) or newer. On older Windows it shows a warning and closes.

If you're on an older build and can't update Windows, switch the Gif/Video engine to a non-mpv option (Vexana/Xavier/WebView/CefSharp for GIF; Nebula/WebView/CefSharp for video). See Engine-MpvPlayer.


OS media codecs (Nebula)

The Nebula engine (Sucrose.Live.Nebula) uses the WPF MediaElement, which relies on the Windows media stack (Media Foundation / DirectShow) and the codecs installed on your system. Formats Windows can't decode won't play under Nebula. The MpvPlayer engine, which ships libmpv, is far more format-robust — use it if a video format won't play in Nebula. See Engine-Nebula and Type-Video.


Auto-download prompts

When an engine detects a missing or outdated dependency it can resolve, it shows a four-button dialog:

Button Effect
Continue Try to run anyway (may fail to render)
Download Fetch and run the dependency installer (WebView2 bootstrapper or VC_redist). The installer is launched with no command-line switches, so VC_redist shows its normal interactive installer UI (the WebView2 bootstrapper installs with little or no wizard).
Remember Snooze the prompt (WebView snoozes one day)
Close Close the engine without rendering

These prompts come only from the WebView and CefSharp engines (for WebView2 and VC++ respectively). The MpvPlayer OS check shows a warning box with no auto-fix (you must update Windows). Other engines (Nebula, Vexana, Xavier, Aurora) are pure managed/WPF and have no external runtime prompt. See Engines-Overview and Troubleshooting-Common.


See also

Home

Getting Started

Wallpaper Types

Using Sucrose

Settings Reference

Creating Wallpapers

Engine Reference

Automation & Command Line

Architecture & Internals

Data, Files & Diagnostics

Building & Contributing

Help & Support

Clone this wiki locally