microsoft / microsoft/PowerToys

Something went wrong

Open
#48,034 1 comment 0 reactions 0 assignees View on GitHub
Area-Setup/Install Issue-Bug Needs-Author-Feedback Needs-Triage Product-PowerDisplay Product-PowerToys Run
Dominant language
C
Stars
139k
Forks
8.6k
PR merge metrics
PR metrics pending

Description

### Microsoft PowerToys version

0.99.1.0

### Installation method

GitHub

### Area(s) with issue?

General

### Steps to reproduce

Version: 0.99.1.0
OS Version: Microsoft Windows NT 10.0.26200.0
IntPtr Length: 8
x64: True
Date: 5/21/2026 9:19:12 AM
Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'PowerDisplay.Models, Version=0.99.1.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'PowerDisplay.Models, Version=0.99.1.0, Culture=neutral, PublicKeyToken=null'
at Microsoft.PowerToys.Settings.UI.Library.SettingsSerializationContext.global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(Type type, JsonSerializerOptions options)
at Microsoft.PowerToys.Settings.UI.Library.BasePTModuleSettings.ToJsonString()
at Microsoft.PowerToys.Settings.UI.Library.SettingsUtils.GetSettingsOrDefault[T](String powertoy, String fileName)
at PowerLauncher.SettingsReader..ctor(PowerToysRunSettings settings, ThemeManager themeManager)
at PowerLauncher.App.<>c__DisplayClass20_0.b__0()
at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

### ✔️ Expected Behavior

for it to run normally

### ❌ Actual Behavior

Version: 0.99.1.0
OS Version: Microsoft Windows NT 10.0.26200.0
IntPtr Length: 8
x64: True
Date: 5/21/2026 9:19:12 AM
Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'PowerDisplay.Models, Version=0.99.1.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'PowerDisplay.Models, Version=0.99.1.0, Culture=neutral, PublicKeyToken=null'
at Microsoft.PowerToys.Settings.UI.Library.SettingsSerializationContext.global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(Type type, JsonSerializerOptions options)
at Microsoft.PowerToys.Settings.UI.Library.BasePTModuleSettings.ToJsonString()
at Microsoft.PowerToys.Settings.UI.Library.SettingsUtils.GetSettingsOrDefault[T](String powertoy, String fileName)
at PowerLauncher.SettingsReader..ctor(PowerToysRunSettings settings, ThemeManager themeManager)
at PowerLauncher.App.<>c__DisplayClass20_0.b__0()
at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

### Upload Bug Report ZIP-file

_No response_

### Additional Information

Version: 0.99.1.0
OS Version: Microsoft Windows NT 10.0.26200.0
IntPtr Length: 8
x64: True
Date: 5/21/2026 9:19:12 AM
Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'PowerDisplay.Models, Version=0.99.1.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'PowerDisplay.Models, Version=0.99.1.0, Culture=neutral, PublicKeyToken=null'
at Microsoft.PowerToys.Settings.UI.Library.SettingsSerializationContext.global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(Type type, JsonSerializerOptions options)
at Microsoft.PowerToys.Settings.UI.Library.BasePTModuleSettings.ToJsonString()
at Microsoft.PowerToys.Settings.UI.Library.SettingsUtils.GetSettingsOrDefault[T](String powertoy, String fileName)
at PowerLauncher.SettingsReader..ctor(PowerToysRunSettings settings, ThemeManager themeManager)
at PowerLauncher.App.<>c__DisplayClass20_0.b__0()
at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

### Other Software

_No response_

Contributor guide

Open the contributing guide

Research direction

Start at PowerLauncher.SettingsReader and follow the startup path into SettingsUtils.GetSettingsOrDefault, BasePTModuleSettings.ToJsonString, and SettingsSerializationContext. Reproduce the startup failure on PowerToys 0.99.1.0 and determine why PowerDisplay.Models cannot be loaded; done means PowerToys Run starts normally without this FileNotFoundException.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.