microsoft / PowerToys

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

PT Run: System.BadImageFormatException: Could not load file or assembly 'System.Private.Xml, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The module was expected to contain an assembly manifest. #8746

Closed Norbert-U closed 3 years ago

Norbert-U commented 3 years ago

ℹ Computer information

📝 Provide detailed reproduction steps (if any)

✔️ Expected result

What is the expected result of the above steps?

❌ Actual result

What is the actual result of the above steps?

📷 Screenshots

Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form

Norbert-U commented 3 years ago

Installed PowerToys 0.27.1.0 but get error "Something went wrong". Logfile is attached 2020-12-26.txt

crutkas commented 3 years ago

Error from log: System.BadImageFormatException: Could not load file or assembly 'System.Private.Xml, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The module was expected to contain an assembly manifest. Source: PresentationFramework TargetAssembly: PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 TargetModule: PresentationFramework.dll TargetSite: System.Object Parse(System.String) at System.Windows.Markup.XamlReader.Parse(String xamlText) at ControlzEx.Theming.RuntimeThemeGenerator.GenerateRuntimeLibraryTheme(LibraryThemeProvider libraryThemeProvider, Dictionary2 values, RuntimeThemeColorValues runtimeThemeColorValues, String themeTemplateContent, String themeName, String themeDisplayName, ThemeGeneratorBaseColorScheme baseColorScheme, ThemeGeneratorColorScheme colorScheme, ThemeGeneratorParameters generatorParameters) at ControlzEx.Theming.RuntimeThemeGenerator.GenerateRuntimeLibraryTheme(String baseColor, Color accentColor, Boolean isHighContrast, LibraryThemeProvider libraryThemeProvider) at ControlzEx.Theming.RuntimeThemeGenerator.GenerateRuntimeTheme(String baseColor, Color accentColor, Boolean isHighContrast, IEnumerable1 libraryThemeProviders) at ControlzEx.Theming.RuntimeThemeGenerator.GenerateRuntimeThemeFromWindowsSettings(String baseColor, Boolean isHighContrast, IEnumerable1 libraryThemeProviders) at ControlzEx.Theming.ThemeManager.SyncThemeColorSchemeWithWindowsAccentColor(Nullable1 syncMode, String baseColor) at ControlzEx.Theming.ThemeManager.SyncTheme(ThemeSyncMode syncMode) at ControlzEx.Theming.ThemeManager.SyncTheme() at Wox.Plugin.ThemeManager..ctor(Application app) at PowerLauncher.App.<>c__DisplayClass14_0.b0() 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>b1_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)

enricogior commented 3 years ago

@Norbert-U please do the following:

Norbert-U commented 3 years ago

I have followed the instructions provided by enricogior and can confirm that install worked ok. Thank you for your help.