Jonno12345 / TileIconifier

Creates tiles for most Windows 8.1 and 10 start menu icons
MIT License
1.38k stars 63 forks source link

Unhandled Exception when creating new custom shortcut #305

Closed HikaruJoestar closed 2 years ago

HikaruJoestar commented 3 years ago

Happens after pressing 'Create New Shortcut' in the Custom Shortcut Manager. Using a Lenovo IdeaPas S540-15IWL GTX laptop. When first lauching the program it got picked up by windows security, added the program as an exclusion but problem persists.


TileIconifier Version: v3.1.1.1 - x64 OS Version: 10.0.19043.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.FileSystemEnumerableIterator1.CommonInit() at System.IO.FileSystemEnumerableIterator1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler1 resultHandler, Boolean checkHost) at System.IO.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOption searchOption) at System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext() at TileIconifier.Core.Custom.WindowsStoreShellMethod.WindowsStoreLibrary.<>cDisplayClass3_0.b0(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.b0_3(<>fAnonymousType0`2 <>hTransparentIdentifier0) in C:\Users\mihal\Documents\GitHub\TileIconifier\TileIconifier.Core\Custom\WindowsStoreShellMethod\WindowsStoreLibrary.cs:line 70 at System.Linq.Enumerable.<>cDisplayClass7_03.<CombineSelectors>b__0(TSource x) at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator1.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.b0() 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()

Jonno12345 commented 2 years ago

Will be fixed in the next release.