microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.33k stars 6.55k forks source link

Unable to load one or more of the requested types. #5802

Closed ColinBulman closed 4 years ago

ColinBulman commented 4 years ago

When booting up I get the following error window. Any suggestions? Thanks

Version: 1.0.0 OS Version: Microsoft Windows NT 10.0.19042.0 IntPtr Length: 8 x64: True Date: 08/08/2020 15:08:15 Exception: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Could not load file or assembly 'Microsoft.PowerToys.Settings.UI.Lib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) at System.Reflection.RuntimeModule.GetTypes() at System.Reflection.Assembly.GetTypes() at Wox.Core.Plugin.PluginsLoader.<>cDisplayClass2_1.b1() at Wox.Infrastructure.Stopwatch.Debug(String message, Action action) at Wox.Core.Plugin.PluginsLoader.CSharpPlugins(List1 source) at Wox.Core.Plugin.PluginsLoader.Plugins(List1 metadatas, PluginsSettings settings) at Wox.Core.Plugin.PluginManager.LoadPlugins(PluginsSettings settings) at PowerLauncher.App.<>cDisplayClass16_0.b1() at Wox.Infrastructure.Stopwatch.Normal(String message, Action action) at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e) at System.Windows.Application.OnStartup(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) System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.PowerToys.Settings.UI.Lib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. File name: 'Microsoft.PowerToys.Settings.UI.Lib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

ℹ Computer information

crutkas commented 4 years ago

Looking at https://github.com/microsoft/PowerToys/issues/5687, looks like their anti-virus software deleted a file.

crutkas commented 4 years ago

dup of #5471

crutkas commented 4 years ago

@ColinBulman looking at your logs, you're on 0.20.0, can you try with 0.20.1?

ColinBulman commented 4 years ago

I did try it with 0.21.1 but got the same error message. In the end I uninstalled the whole program and reinstalled and so far no messgaes. Thanks for your reply