How to resolve path too long exception while running Xamarin samples?
When running Xamarin samples, it did not build and System.IO.PathTooLongException message was shown, until the Essential Studio v220.127.116.11. This was due to NuGet packages that were restored in a path exceeding 260 characters. This can also happen when the files created while building the application in bin/obj folder exceeds 260 characters. Do the following to overcome this issue:
Copy the Xamarin samples folder to a shorter path:
If Xamarin samples have already been installed in a lengthy path, copy the Xamarin samples folder to a shorter path as follows, and then run the samples.
This issue has been resolved by changing the Xamarin samples installation path to a shorter path (Public Documents folder), and the fix will be included in the upcoming releases (after v18.104.22.168).
This page will automatically be redirected to the sign-in page in 10 seconds.