-
-
Notifications
You must be signed in to change notification settings - Fork 88
Description
I've been able to get a lot of the controls working, but getting an error when calling $TaskDialog.ShowDialog():
Exception calling "ShowDialog" with "0" argument(s): "Unable to find an entry point named 'TaskDialogIndirect' in DLL 'comctl32.dll'."
This is mentioned in your README:
Ookii Dialogs leverages the components and visual styles of the Windows Common Controls library (comctl32.dll), and WPF applications targeting .NET Core 3.1 and/or .NET 5 must add an application manifest (app.manifest) to their projects with a reference to Microsoft.Windows.Common-Controls.
Without the application manifest, you'll get an error with a message similar to the below:
System.EntryPointNotFoundException: 'Unable to find an entry point named '...' in DLL 'comctl32.dll'.'
Is there any way to get this working in powershell by referencing Microsoft.Windows.Common-Controls?
Any help would be appreciated!