blazor-405546-troubleshooting-installation-issues-path-length-error.md
When you install or update DevExpress Blazor packages, you may encounter the Could not find a part of the path error followed by a long file path. This usually happens when the path exceeds Windows’ 260-character limit.
To resolve this issue, use one of the following methods:
Enable long path support in Windows to remove the path length limitation in Windows 10 (v1607+) and Windows Server 2016+. You can do this via the Registry Editor or Group Policy Editor.
Registry Editor (All Windows Editions):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem key.DWORD (32-bit) value named LongPathsEnabled. If it does not exist, create it.LongPathsEnabled to 1.Group Policy Editor (Windows Server, Windows 10/11 Pro, Enterprise, and Education)
Move your entire solution to a folder closer to the root of your drive, such as C:\Dev\. This reduces the overall length of file paths during package installation.
If the failed package is DevExpress Blazor Template Gallery (DevExpress.Blazor.ProjectTemplates), install it globally. This makes the templates available for all new projects.
Open a command prompt and run the following command:
dotnet new install DevExpress.Blazor.ProjectTemplates