Severity Code Description Project File Line Suppression State
Error Unable to copy file … The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
Xamarin IOS Project Deployment problem cause Windows Path/File too long. This is not a Xamarin or a Visual Studio problem, it is all about Windows Operating system limits. So follow these steps to solve that problem
- Windows + R
- type “regedit” end go
- Computer>HKEY_LOCAL_MACHINE>SYSTEM>CurrentControlSet>Control>FileSystem
- LongPathsEnabled
- Set Value = 1
- Apply and restart windows
It’s done !