microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
109.89k stars 6.48k forks source link

PT Run got an error: Could not load file or assembly Microsoft.PowerToys.Settings.UI.Lib #5687

Closed OddSquirrel closed 4 years ago

OddSquirrel commented 4 years ago

β„Ή Computer information

πŸ“ Provide detailed reproduction steps (if any)

  1. Installed v0.20.1 x64
  2. PT asked to restart explorer.exe

βœ”οΈ Expected result

Expected the usual reboot needed in order to have everything work after installing PT updates. πŸ˜‹

❌ Actual result

App Crash with error message:

Version: 1.0.0
OS Version: Microsoft Windows NT 10.0.19041.0
IntPtr Length: 8
x64: True
Date: 08/06/2020 00:25:02
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'. Das System kann die angegebene Datei nicht finden. [System can't find the specified file]
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at System.Reflection.Assembly.GetTypes()
   at Wox.Core.Plugin.PluginsLoader.<>c__DisplayClass2_1.<CSharpPlugins>b__1()
   at Wox.Infrastructure.Stopwatch.Debug(String message, Action action)
   at Wox.Core.Plugin.PluginsLoader.CSharpPlugins(List`1 source)
   at Wox.Core.Plugin.PluginsLoader.Plugins(List`1 metadatas, PluginsSettings settings)
   at Wox.Core.Plugin.PluginManager.LoadPlugins(PluginsSettings settings)
   at PowerLauncher.App.<>c__DisplayClass16_0.<OnStartup>b__1()
   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'. Das System kann die angegebene Datei nicht finden. [System can't find the specified file]
File name: 'Microsoft.PowerToys.Settings.UI.Lib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Log

2020-08-06.txt

Link expires 2020-08-19.

πŸ“· Screenshots

N/A

OddSquirrel commented 4 years ago

Issue resolved by re-installing with deactivated Anti-Malware (Emsisoft). Hidden installation was noted and flagged as allowed, but still broke the installation process.