You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CoreCLR Version: 6.0.2123.36311
.NET Version: 6.0.21
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentNullException: Value cannot be null. (Parameter 'path1')
at System.IO.Path.Combine(String path1, String path2)
at Microsoft.WindowsAPICodePack.Dialogs.EnableThemingInScope.EnsureActivateContextCreated()
at Microsoft.WindowsAPICodePack.Dialogs.EnableThemingInScope..ctor(Boolean enable)
at Microsoft.WindowsAPICodePack.Dialogs.NativeTaskDialog.NativeShow()
at Microsoft.WindowsAPICodePack.Dialogs.TaskDialog.ShowCore()
In the same Microsoft doc it is recommended to use AppContext.BaseDirectory instead of Assembly.Location for such cases.
The text was updated successfully, but these errors were encountered:
The reason is that for self-contained apps Assembly.Location is empty here (https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview?tabs=cli#api-incompatibility):
Windows-API-Code-Pack-1.1/source/WindowsAPICodePack/Core/Interop/TaskDialogs/EnableThemingInScope.cs
Line 86 in 5f00f7c
In the same Microsoft doc it is recommended to use AppContext.BaseDirectory instead of Assembly.Location for such cases.
The text was updated successfully, but these errors were encountered: