Unhandled Exception when creating custom shortcut
fabiokawai opened this issue · comments
Windows 11 Pro 21H2
OS Build 22000.856
While trying to create a custom shortcut, I click on 'Create New Shortcut' and get this error.
TileIconifier Version: v3.1.1.2 - x64
OS Version: 10.0.22000.0 - x64
Administrator?: Yes
System.IO.IOException: The file cannot be accessed by the system.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOption searchOption)
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at TileIconifier.Core.Custom.WindowsStoreShellMethod.WindowsStoreLibrary.<>c__DisplayClass3_0.<GetIconPath>b__0(String p) in C:\Users\mihal\Documents\GitHub\TileIconifier\TileIconifier.Core\Custom\WindowsStoreShellMethod\WindowsStoreLibrary.cs:line 166
at TileIconifier.Core.Custom.WindowsStoreShellMethod.WindowsStoreLibrary.GetIconPath(String iconTag) in C:\Users\mihal\Documents\GitHub\TileIconifier\TileIconifier.Core\Custom\WindowsStoreShellMethod\WindowsStoreLibrary.cs:line 203
at TileIconifier.Core.Custom.WindowsStoreShellMethod.WindowsStoreLibrary.<>c.<GetAppKeysFromRegistry>b__0_3(<>f__AnonymousType0`2 <>h__TransparentIdentifier0) in C:\Users\mihal\Documents\GitHub\TileIconifier\TileIconifier.Core\Custom\WindowsStoreShellMethod\WindowsStoreLibrary.cs:line 70
at System.Linq.Enumerable.<>c__DisplayClass7_0`3.<CombineSelectors>b__0(TSource x)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at TileIconifier.Core.Custom.WindowsStoreShellMethod.WindowsStoreLibrary.GetAppKeysFromRegistry() in C:\Users\mihal\Documents\GitHub\TileIconifier\TileIconifier.Core\Custom\WindowsStoreShellMethod\WindowsStoreLibrary.cs:line 60
at TileIconifier.Controls.Custom.WindowsStoreShellMethod.WindowsStoreAppListViewItemLibrary.RefreshList(Boolean force)
at TileIconifier.Forms.CustomShortcutForms.FrmCustomShortcutManagerNew.FullUpdate(Object sender, DoWorkEventArgs e)
at TileIconifier.Utilities.FormUtils.<>c__DisplayClass1_0.<DoBackgroundWorkWithSplash>b__0()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()